Skip to content

Commit

Permalink
deps.js: don't swallow parsing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Alaev committed Mar 1, 2013
2 parents a1cbfb8 + e751c82 commit 9b15506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/techs/deps.js.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

});
Expand Down

0 comments on commit 9b15506

Please sign in to comment.