Skip to content

Commit

Permalink
fix stacktrace logging (#3084)
Browse files Browse the repository at this point in the history
  • Loading branch information
bolyachevets authored Oct 18, 2024
1 parent aac9ed7 commit 3fab69c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ def worker():

# Note if you're extending above, make sure to include the new type in handle_other_messages below.
handle_other_messages(message_type, email_msg)
except Exception: # NOQA # pylint: disable=broad-except
logger.error('Error processing event:', exc_info=True)
except Exception as e: # NOQA # pylint: disable=broad-except
raise e
return {}, HTTPStatus.OK


Expand Down

0 comments on commit 3fab69c

Please sign in to comment.