Skip to content

Commit

Permalink
convert logger.error to logger.warning (#636)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajar98 authored Jul 15, 2024
1 parent e1cf228 commit 77d6593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vocode/streaming/telephony/client/twilio_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 77d6593

Please sign in to comment.