Sonarr/frontend/gulp/helpers/errorHandler.js

7 lines
193 B
JavaScript
Raw Normal View History

2018-01-13 02:01:27 +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');
};