exit if we cant login to tha core api
This commit is contained in:
parent
e80c5233c1
commit
ee39e064c3
1 changed files with 1 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue