mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Fix error handling when checking for changes in the database in the scheduler
This commit is contained in:
parent
bc0914c0b2
commit
8a4a875947
1 changed files with 1 additions and 2 deletions
|
|
@ -719,8 +719,7 @@ if __name__ == "__main__":
|
|||
changes = db.check_changes()
|
||||
|
||||
if isinstance(changes, str):
|
||||
logger.error(f"An error occurred when checking for changes in the database : {changes}")
|
||||
stop(1)
|
||||
raise Exception(f"An error occurred when checking for changes in the database : {changes}")
|
||||
|
||||
# check if the plugins have changed since last time
|
||||
if changes["pro_plugins_changed"]:
|
||||
|
|
|
|||
Loading…
Reference in a new issue