diff --git a/index.js b/index.js index ae444adb..5e581f20 100644 --- a/index.js +++ b/index.js @@ -88,5 +88,6 @@ client.registry }); client.on('error', console.error); + process.on('unhandledRejection', error => console.error('Uncaught Promise Rejection', error)); client.login(token); \ No newline at end of file