style: format code using black

This commit is contained in:
jo 2023-02-01 11:14:08 +01:00 committed by Jonas L
parent 9c9b06e13e
commit bd76971312
8 changed files with 7 additions and 6 deletions

View file

@ -86,7 +86,9 @@ def process_http_requests(ipc_queue, http_retry_queue_path):
with open(http_retry_queue_path, "wb") as pickle_file:
pickle.dump(retry_queue, pickle_file)
return
except Exception as exception: # Terrible top-level exception handler to prevent the thread from dying, just in case.
except (
Exception
) as exception: # Terrible top-level exception handler to prevent the thread from dying, just in case.
if shutdown:
return
logger.exception(f"Unhandled exception in StatusReporter {exception}")