From e751c8268e390ec89ac27481fdb566cfa6dc7edf Mon Sep 17 00:00:00 2001 From: Vladimir Alaev Date: Sat, 2 Mar 2013 00:11:19 +0200 Subject: [PATCH] deps.js: don't swallow parsing errors (close #353) --- lib/techs/deps.js.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/techs/deps.js.js b/lib/techs/deps.js.js index 2a63e12b..17aebba5 100644 --- a/lib/techs/deps.js.js +++ b/lib/techs/deps.js.js @@ -237,7 +237,7 @@ var Deps = exports.Deps = INHERIT({ _this.parse(VM.runInThisContext(content, path), item); } catch(e) { e.message = path + '\n' + e.message; - return Q.reject(e); + throw e; } });