1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-28 19:05:55 +00:00
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');
};