mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-11-09 23:40:18 +00:00
Added console.log to catch error in play.js
This commit is contained in:
parent
040f165056
commit
666a52b570
@ -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}`);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user