diff --git a/src/scheduler/app.py b/src/scheduler/app.py index 6794d4e..1dbcf14 100644 --- a/src/scheduler/app.py +++ b/src/scheduler/app.py @@ -238,6 +238,7 @@ try: except Exception as err: logger_api.error('Client login error') logger_api.error(err) + sys.exit(1) # Schedule sync jobs scheduler.add_job(func=core_api_sync, trigger="interval", seconds=CORE_SYNC_PERIOD, id="core_api_sync")