ajout de log stacktrace

This commit is contained in:
SebF 2021-11-01 21:58:20 +01:00
parent 4431913f6e
commit d86208190f
1 changed files with 2 additions and 0 deletions

View File

@ -193,6 +193,8 @@ def main():
exit()
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)