additional error message

This commit is contained in:
DJ2LS 2024-01-27 12:17:31 +01:00
parent 6104799d78
commit 30bb0ba828

View file

@ -115,7 +115,8 @@ class DatabaseManager:
return new_message.id return new_message.id
except Exception as e: except Exception as e:
session.rollback() session.rollback()
raise e self.log(f"error adding new message to databse with error: {e}", isWarning=True)
self.log(f"---> please delete or update existing database", isWarning=True)
finally: finally:
session.remove() session.remove()