Skip to content

Commit

Permalink
fix: add error to log (#1733)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mittelblut9 authored Oct 12, 2023
2 parents 3165893 + 3c7e1be commit b2538a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/classes/Notifications/YouTube/YouTubeNotification.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ module.exports = class YouTubeNotification extends YouTubeLogic {
);
} catch (err) {
console.error(
`I have failed to send a youtube upload message to ${channel.name} (${channel.id}) in ${guild.name} (${guild.id}). LINK: ${latestVideo.link}`
`I have failed to send a youtube upload message to ${channel.name} (${channel.id}) in ${guild.name} (${guild.id}). LINK: ${latestVideo.link}`,
err
);
}

Expand Down

0 comments on commit b2538a8

Please sign in to comment.