exit if we cant login to tha core api

This commit is contained in:
deflax 2024-01-14 16:22:14 +02:00
parent e80c5233c1
commit ee39e064c3

View file

@ -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")