mrmBot-Matrix/events/error.js

7 lines
221 B
JavaScript
Raw Normal View History

2019-09-13 20:02:41 +00:00
const logger = require("../utils/logger.js");
// run when eris encounters an error
module.exports = async (client, error, id) => {
logger.error(`An error event was sent by Eris in shard ${id}: \n${error.message}`);
2019-09-13 20:02:41 +00:00
};