6 lines
213 B
JavaScript
6 lines
213 B
JavaScript
const logger = require("../utils/logger.js");
|
|
|
|
// run when eris encounters an error
|
|
module.exports = async (error, id) => {
|
|
logger.error(`An error event was sent by Eris in shard ${id}: \n${error.message}`);
|
|
};
|