Handle final failure

This commit is contained in:
shamoon 2024-12-02 14:57:51 -08:00
parent 490d5f54aa
commit 192b49fd21

View File

@ -577,6 +577,7 @@ def run_workflows_updated(sender, document: Document, logging_group=None, **kwar
retry_backoff=True, retry_backoff=True,
autoretry_for=(httpx.HTTPStatusError,), autoretry_for=(httpx.HTTPStatusError,),
max_retries=3, max_retries=3,
throws=(httpx.HTTPError,),
) )
def send_webhook(url, data, headers, files): def send_webhook(url, data, headers, files):
try: try: