@ -8,7 +8,8 @@ class unhandledRejectionListener extends Listener {
});
}
async exec(error) {
async exec(error, reason) {
console.error(reason);
return console.error(`\x1b[31mUncaught Promise Rejection: ${error}\x1b[37m`);