From 6ce13d74e8a8dea459856261aa323e4e0b8d6d27 Mon Sep 17 00:00:00 2001 From: Matthew Andrews Date: Thu, 18 Jun 2015 19:50:37 +0100 Subject: [PATCH] Missing errs --- tasks/build.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/build.js b/tasks/build.js index 1b65d873..3b4eced3 100644 --- a/tasks/build.js +++ b/tasks/build.js @@ -62,7 +62,7 @@ gulp.task('build-js', function() { .on('end', function() { console.log('build-js completed'); }) - .on('error', function() { + .on('error', function(err) { console.warn('build-js errored'); throw err; }); @@ -77,7 +77,7 @@ gulp.task('build-minify-js', ['build-js'], function() { .on('end', function() { console.log('build-minify-js completed'); }) - .on('error', function() { + .on('error', function(err) { console.log('build-minify-js errored'); throw err; });