Lidarr/frontend/gulp/helpers/errorHandler.js

7 lines
193 B
JavaScript

const gulpUtil = require('gulp-util');
module.exports = function errorHandler(error) {
gulpUtil.log(gulpUtil.colors.red(`Error (${error.plugin}): ${error.message}`));
this.emit('end');
};