print stack of error
This commit is contained in:
parent
d92f9ffb8b
commit
d9ac55f8a1
1 changed files with 1 additions and 0 deletions
|
@ -213,6 +213,7 @@ exports.play = async function (client, message, query, playNext, ignoreQueue) {
|
|||
}
|
||||
|
||||
client.logger.error('(YT API change, disregard) ' + err)
|
||||
client.logger.error(err.stack);
|
||||
return message.channel.send(`<:error:466995152976871434> An error has occured: \n\`${err}\``)
|
||||
// return message.channel.send('<:error:466995152976871434> YouTube have made changes to their site that break Woomy\'s music module. An announcement will be made in the development server when this issue is resolved.')
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue