forked from Olav63/outils_OSM
ajout de log stacktrace
This commit is contained in:
parent
4431913f6e
commit
d86208190f
2
rdoo.py
2
rdoo.py
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user