From 77d6593e218c465b0fcac70db737fc32cc7832af Mon Sep 17 00:00:00 2001 From: Ajay Raj Date: Mon, 15 Jul 2024 08:45:54 -0700 Subject: [PATCH] convert logger.error to logger.warning (#636) --- vocode/streaming/telephony/client/twilio_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vocode/streaming/telephony/client/twilio_client.py b/vocode/streaming/telephony/client/twilio_client.py index 97e8a9f7d..5c8ad9819 100644 --- a/vocode/streaming/telephony/client/twilio_client.py +++ b/vocode/streaming/telephony/client/twilio_client.py @@ -63,7 +63,7 @@ async def create_call( ) as response: if not response.ok: if response.status == 400: - logger.error( + logger.warning( f"Failed to create call: {response.status} {response.reason} {await response.json()}" ) raise TwilioBadRequestException(