diff --git a/lib/index.js b/lib/index.js index 8c3c371..4333721 100644 --- a/lib/index.js +++ b/lib/index.js @@ -19,7 +19,7 @@ module.exports = function (name, streams) { * combined stream, so we don't need `gulp-plumber` in our actual pipeline. */ var 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"); });