wait 10 seconds before restarting

This commit is contained in:
deflax 2024-01-20 01:55:03 +02:00
parent 52ca77e67c
commit 35dd1b9e91

View file

@ -280,6 +280,8 @@ try:
except Exception as err:
logger_api.error('Client login error')
logger_api.error(err)
time.sleep(10)
logger.api.error('Restarting...')
sys.exit(1)
# Schedule sync jobs