Added console.log to catch error in play.js

This commit is contained in:
Christer Warén 2021-01-17 16:10:08 +02:00
parent 040f165056
commit 666a52b570

View File

@ -85,6 +85,7 @@ module.exports = {
} }
} catch (error) { } catch (error) {
console.log(error);
client.radio.delete(msg.guild.id); client.radio.delete(msg.guild.id);
return msg.channel.send(client.messageEmojis["error"] + `An error occured: ${error}`); return msg.channel.send(client.messageEmojis["error"] + `An error occured: ${error}`);
} }