From 63f85e9a6bad7a45abd332545fd775d9ea1f167e Mon Sep 17 00:00:00 2001 From: Thomas Erlang Date: Tue, 29 Oct 2024 12:19:04 +0100 Subject: [PATCH] Add channel id to error --- tbot/twitch_bot/tasks/youtube_chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tbot/twitch_bot/tasks/youtube_chat.py b/tbot/twitch_bot/tasks/youtube_chat.py index 6e12655..9524985 100644 --- a/tbot/twitch_bot/tasks/youtube_chat.py +++ b/tbot/twitch_bot/tasks/youtube_chat.py @@ -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()