We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9b278f commit 975d783Copy full SHA for 975d783
src/hypercorn/trio/tcp_server.py
@@ -51,7 +51,7 @@ async def run(self) -> None:
51
52
def log_handler(e: Exception) -> None:
53
if self.config.log.error_logger is not None:
54
- self.config.log.error_logger.exception("Internal hypercorn error")
+ self.config.log.error_logger.exception("Internal hypercorn error", exc_info=e)
55
56
try:
57
with exceptiongroup.catch({Exception: log_handler}): # type: ignore
0 commit comments