Skip to content

Commit

Permalink
Do not catch ReferenceError
Browse files Browse the repository at this point in the history
  • Loading branch information
Filirom1 committed Mar 30, 2012
1 parent 6aa9673 commit d073b06
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/vows/suite.js
Expand Up @@ -134,6 +134,7 @@ this.Suite.prototype = new(function () {
topic = topic.apply(ctx.env, ctx.topics);
}
catch (ex) {
if(/ReferenceError/.test(ex)) throw ex;
topic = ex;
}

Expand Down

0 comments on commit d073b06

Please sign in to comment.