Feed errors into the logger directly

master
Sven Slootweg 8 years ago
parent a0446eb7fc
commit c7feaabcb4

@ -19,7 +19,7 @@ module.exports = function(name, streams, options = {}) {
* combined stream, so we don't need `gulp-plumber` in our actual pipeline.
*/
let plumberStream = plumber(function(err) {
logger.error(err.toString());
logger.error(err);
/* Ensure that the task finishes, so as to not break `gulp.watch`. */
this.emit("end");
});

Loading…
Cancel
Save