Add better logging to deploy commands
This commit is contained in:
@@ -42,7 +42,7 @@ exports.deploy = (guildIDs) => {
|
||||
log.DEBUG(`Successfully reloaded ${data.length} application (/) commands for guild ID: ${guildId}.`);
|
||||
} catch (error) {
|
||||
// And of course, make sure you catch and log any errors!
|
||||
log.ERROR(error);
|
||||
log.ERROR("ERROR Deploying commands", error);
|
||||
}
|
||||
})()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user