sonarr-repo-only/frontend/gulp/helpers/errorHandler.js

7 lines
183 B
JavaScript
Raw Normal View History

const colors = require('ansi-colors');
2018-01-13 02:01:27 +00:00
module.exports = function errorHandler(error) {
console.log(colors.red(`Error (${error.plugin}): ${error.message}`));
2018-01-13 02:01:27 +00:00
this.emit('end');
};