summaryrefslogtreecommitdiffstats
path: root/lib/configuration.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/configuration.js')
-rw-r--r--lib/configuration.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/configuration.js b/lib/configuration.js
index ad4f445..dec9e9b 100644
--- a/lib/configuration.js
+++ b/lib/configuration.js
@@ -91,6 +91,8 @@ Configuration.prototype.load = function() {
);
}
catch(err) {
+ if (err instanceof SyntaxError) return Q.reject(err);
+ console.log(err, err.code);
return Q();
}
})