1
0
mirror of https://github.com/Radarr/Radarr synced 2025-10-06 08:23:37 +02:00
Files
Radarr/frontend/gulp/helpers/errorHandler.js
2019-06-11 22:07:34 -04:00

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');
};