Skip to content

Commit

Permalink
remove try catch
Browse files Browse the repository at this point in the history
  • Loading branch information
Raynos authored and James Halliday committed Sep 16, 2014
1 parent 593e7c9 commit b747374
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions lib/test.js
Expand Up @@ -69,14 +69,7 @@ Test.prototype.run = function () {
return this._end();
}
this.emit('prerun');
try {
this._cb(this);
}
catch (err) {
this.error(err);
this._end();
return;
}
this._cb(this);
this.emit('run');
};

Expand Down

0 comments on commit b747374

Please sign in to comment.