From 666a52b57054e4b728669c33b432712452d4c311 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Sun, 17 Jan 2021 16:10:08 +0200 Subject: [PATCH] Added console.log to catch error in play.js --- client/commands/play.js | 1 + 1 file changed, 1 insertion(+) diff --git a/client/commands/play.js b/client/commands/play.js index ec06cf6..93f39d6 100644 --- a/client/commands/play.js +++ b/client/commands/play.js @@ -85,6 +85,7 @@ module.exports = { } } catch (error) { + console.log(error); client.radio.delete(msg.guild.id); return msg.channel.send(client.messageEmojis["error"] + `An error occured: ${error}`); }