woomy/events/error.js

4 lines
97 B
JavaScript
Raw Normal View History

2020-04-04 06:59:22 +00:00
module.exports = async (client, error) => {
client.logger.error(JSON.stringify(error.stack))
}