mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-23 08:15:27 +00:00
6 lines
183 B
JavaScript
6 lines
183 B
JavaScript
const colors = require('ansi-colors');
|
|
|
|
module.exports = function errorHandler(error) {
|
|
console.log(colors.red(`Error (${error.plugin}): ${error.message}`));
|
|
this.emit('end');
|
|
};
|