Improved logging on deploy commands

This commit is contained in:
Logan Cusano
2023-03-11 16:33:48 -05:00
parent 07522c0c19
commit 9a710c0785

View File

@@ -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 Deploying commands", error);
log.ERROR("ERROR Deploying commands: ", error, "Body from error: ", commands);
}
})()
}