mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-25 01:13:31 +01:00
Add missing capture of exception to variable.
This commit is contained in:
parent
bc7e189a5c
commit
e040bcac77
@ -102,7 +102,7 @@ def process_email(quiet: bool = False, debug_to_stdout: bool = False):
|
||||
logger.info(log_msg)
|
||||
if debug_to_stdout:
|
||||
print(log_msg)
|
||||
except Exception:
|
||||
except Exception as e:
|
||||
logger.error("Queue processing failed: {q.slug} -- {e}", exc_info=True)
|
||||
if debug_to_stdout:
|
||||
print(f"Queue processing failed: {q.slug}")
|
||||
|
Loading…
Reference in New Issue
Block a user