aboutsummaryrefslogtreecommitdiff
path: root/events
diff options
context:
space:
mode:
Diffstat (limited to 'events')
-rw-r--r--events/message.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/events/message.js b/events/message.js
index dfe7c72..4154536 100644
--- a/events/message.js
+++ b/events/message.js
@@ -72,6 +72,7 @@ function parseCommand(bot, msg) {
}
catch (e) {
console.error(e.stack);
+ bot.Raven.captureException(e);
msg.channel.send('There was an error trying to process your command. Don\'t worry because this issue is being looked into');
}
}