enable sys.exit

This commit is contained in:
deflax 2024-01-20 01:44:16 +02:00
parent 50c902d019
commit 83ece2c59e

View file

@ -280,7 +280,7 @@ try:
except Exception as err:
logger_api.error('Client login error')
logger_api.error(err)
#sys.exit(1)
sys.exit(1)
# Schedule sync jobs
scheduler.add_job(func=core_api_sync, trigger='interval', seconds=core_sync_period, id='core_api_sync')