woomy/events/error.js

3 lines
97 B
JavaScript

module.exports = async (client, error) => {
client.logger.error(JSON.stringify(error.stack))
}