Skip to content

Commit

Permalink
Add channel id to error
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaserlang committed Oct 29, 2024
1 parent 07436ec commit 63f85e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tbot/twitch_bot/tasks/youtube_chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ async def youtube_request(
try:
r.raise_for_status()
except Exception as e:
logger.error(f'Youtube request failed: {r.text}')
logger.error(f'Youtube request failed for channel {channel_id}: {r.text}')
raise e
return r.json()

Expand Down

0 comments on commit 63f85e9

Please sign in to comment.