Holana/events/mongo/err.js
2023-04-29 21:59:08 +12:00

8 lines
No EOL
153 B
JavaScript

const chalk = require('chalk');
module.exports = {
name: "err",
execute(err) {
console.log(chalk.red("[MONGO DB]: Error: " + err + ""));
},
};