Skip to content

Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!

Python

fix: Format exceptions in the ocnsole

Clémence Lesnéa484853c4565
diff --git a/app/helpers/logging.py b/app/helpers/logging.py
index d29b19e..c7d1a82 100644
--- a/app/helpers/logging.py
+++ b/app/helpers/logging.py
@@ -12,7 +12,6 @@ from structlog.processors import (
TimeStamper,
UnicodeDecoder,
add_log_level,
- format_exc_info,
)
from structlog.stdlib import PositionalArgumentsFormatter
@@ -39,7 +38,6 @@ configure_once(
TimeStamper(fmt="iso", utc=True),
# Add exceptions info
StackInfoRenderer(),
- format_exc_info,
# Decode Unicode to str
UnicodeDecoder(),
# Pretty printing in a terminal session