mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-11 15:57:50 +02:00
Better Error Handling
This commit is contained in:
@@ -38,7 +38,7 @@ module.exports = class WebhookCommand extends Command {
|
||||
.send({ content });
|
||||
return null;
|
||||
} catch(err) {
|
||||
return msg.say('An Unknown Error Occurred.');
|
||||
return msg.say(`An Error Occurred: ${err}`);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user