diff --git a/src/modules/YTModule.ts b/src/modules/YTModule.ts index 2b9b542..5e500cb 100644 --- a/src/modules/YTModule.ts +++ b/src/modules/YTModule.ts @@ -30,7 +30,8 @@ export default async(client:TClient)=>{ }).then(async resp=>Data = await resp.body.json()); YTChannelName = Data.items[0].snippet.channelTitle; } catch (err) { - Logger.console('log', 'YTModule', `Failed to get video data for "${YTChannelID}" from YouTube API: ${err}`); + Logger.console('error', 'YTModule', `Failed to get video data for "${YTChannelID}" from YouTube API: ${err}`); + Logger.debug('YTModule', `Debug data: ${Data}`); } if (!Data) return;