mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
chore: Remove unnecessary error handling and logging in main.py
This commit is contained in:
parent
87b7791cde
commit
583c2a1601
1 changed files with 0 additions and 2 deletions
|
|
@ -726,7 +726,6 @@ if __name__ == "__main__":
|
|||
|
||||
if ret:
|
||||
logger.error(f"An error occurred when setting the changes to checked in the database : {ret}")
|
||||
stop(1)
|
||||
|
||||
NEED_RELOAD = False
|
||||
RUN_JOBS_ONCE = False
|
||||
|
|
@ -743,7 +742,6 @@ if __name__ == "__main__":
|
|||
logger.warning("The database is read-only, the scheduler first start will not be saved")
|
||||
elif ret:
|
||||
logger.error(f"An error occurred when setting the scheduler first start : {ret}")
|
||||
stop(1)
|
||||
scheduler_first_start = False
|
||||
|
||||
if not HEALTHY_PATH.is_file():
|
||||
|
|
|
|||
Loading…
Reference in a new issue