1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-23 08:15:27 +00:00
Sonarr/frontend/gulp/helpers/errorHandler.js
Mark McDowall 5894b4fd95 v3 UI
2018-12-29 13:08:43 +01:00

6 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');
};