aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bot.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/bot.js b/bot.js
index 0ac3053..211a79b 100644
--- a/bot.js
+++ b/bot.js
@@ -87,6 +87,7 @@ const nodes = [
process.on('unhandledRejection', (err) => {
console.error(err.stack);
+ bot.Raven.captureException(err);
});
bot.login(config.token).then(() => {