Created
October 23, 2018 07:35
-
-
Save eblancoh/fb73b5a62bc6197ed16644b8a9e42d9e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// log any bot errors into the console | |
bot.on('error', function (e) { | |
console.log('An error ocurred', e); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment