Skip to content

Commit

Permalink
feat #110: add detail exceptions traceback
Browse files Browse the repository at this point in the history
  • Loading branch information
Lancetnik committed Jul 25, 2023
1 parent fd243da commit 70227f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion propan/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from unittest.mock import Mock

__version__ = "0.1.5.13"
__version__ = "0.1.5.14"


INSTALL_MESSAGE = (
Expand Down
2 changes: 1 addition & 1 deletion propan/brokers/_model/broker_usecase.py
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ async def log_wrapper(message: PropanMessage[MsgType]) -> T_HandlerReturn:
self._log("Skipped", extra=log_context)
raise e
except Exception as e:
self._log(repr(e), logging.ERROR)
self._log(repr(e), logging.ERROR, exc_info=e)
raise e
else:
self._log("Processed", extra=log_context)
Expand Down

0 comments on commit 70227f4

Please sign in to comment.