Radarr/frontend/gulp/helpers/errorHandler.js

7 lines
183 B
JavaScript
Raw Normal View History

const colors = require('ansi-colors');
2018-11-23 07:04:42 +00:00
module.exports = function errorHandler(error) {
console.log(colors.red(`Error (${error.plugin}): ${error.message}`));
2018-11-23 07:04:42 +00:00
this.emit('end');
};