mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-09 12:32:31 +01:00
7 lines
183 B
JavaScript
7 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');
|
|
};
|