diff --git a/propan/__about__.py b/propan/__about__.py index af55b61f..93f9d53e 100644 --- a/propan/__about__.py +++ b/propan/__about__.py @@ -2,7 +2,7 @@ from unittest.mock import Mock -__version__ = "0.1.5.13" +__version__ = "0.1.5.14" INSTALL_MESSAGE = ( diff --git a/propan/brokers/_model/broker_usecase.py b/propan/brokers/_model/broker_usecase.py index 531b33b2..23cb71ee 100644 --- a/propan/brokers/_model/broker_usecase.py +++ b/propan/brokers/_model/broker_usecase.py @@ -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)