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

dev: Simplify logging

Clémence Lesnéd1edc75affa7
diff --git a/app/helpers/call_utils.py b/app/helpers/call_utils.py
index 6fdbdf0..7b146f5 100644
--- a/app/helpers/call_utils.py
+++ b/app/helpers/call_utils.py
@@ -411,7 +411,7 @@ async def handle_hangup(
If the call is already hung up, the exception will be suppressed.
"""
- logger.info("Hanging up: %s", call.initiate.phone_number)
+ logger.info("Hanging up")
with (
# Suppress hangup exception
suppress(CallHangupException),