ajout de log stacktrace

This commit is contained in:
SebF 2021-11-01 21:58:20 +01:00
parent 4431913f6e
commit d86208190f

View File

@ -193,6 +193,8 @@ def main():
exit() exit()
logging.error(f"Erreur API - on retente dans {RETRY_DELAY}s") logging.error(f"Erreur API - on retente dans {RETRY_DELAY}s")
except:
logging.error("Exception", stack_info=True, exc_info=True)
time.sleep(RETRY_DELAY) time.sleep(RETRY_DELAY)