Skip to content

Instantly share code, notes, and snippets.

@eblancoh
Created October 23, 2018 07:35
Show Gist options
  • Save eblancoh/fb73b5a62bc6197ed16644b8a9e42d9e to your computer and use it in GitHub Desktop.
Save eblancoh/fb73b5a62bc6197ed16644b8a9e42d9e to your computer and use it in GitHub Desktop.
// 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