Lidarr/frontend/gulp/helpers/errorHandler.js

7 lines
193 B
JavaScript
Raw Normal View History

2017-09-04 02:20:56 +00:00
const gulpUtil = require('gulp-util');
module.exports = function errorHandler(error) {
gulpUtil.log(gulpUtil.colors.red(`Error (${error.plugin}): ${error.message}`));
this.emit('end');
};