From 17da2213fed4c9b70fa860dd61b69601534ec4d4 Mon Sep 17 00:00:00 2001 From: Juuso Backman Date: Mon, 17 Nov 2014 12:12:41 +0200 Subject: [PATCH] Log styleguide generation errors to console for now. Will handle properly later. --- lib/styleguide.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/styleguide.js b/lib/styleguide.js index 3863307c..70efbb3a 100644 --- a/lib/styleguide.js +++ b/lib/styleguide.js @@ -218,7 +218,7 @@ module.exports = function(options) { .finally(callback); }); } - ); + ).on('error', console.error.bind(console)); }; /* Built-in server */