Skip to content

Commit

Permalink
Added exception display
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienCastex committed May 13, 2017
1 parent afe3733 commit 592ee40
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/root.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ module.exports = (callback, options) => {
}
catch(ex)
{
if(options.showExceptions)
console.error(ex);

isValid(f, isValid => isValid(false, ex));
}
})
Expand Down

0 comments on commit 592ee40

Please sign in to comment.