Skip to content

Commit

Permalink
fixed exceptions not showing the vow title they occured in
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudhead committed Feb 22, 2010
1 parent e51aeb1 commit 50f55a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vows.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function addVow(/* description & callback */) {
exception = ' ~ ' + e.toString() + "\n";
broken++;
} else {
title += stylize(desc, 'red');
title += stylize(vow.description, 'red');
msg = e.stack || e.message || e.toString() || e;
exception = ' ! ' + stylize(msg, 'red') + "\n";
errored++;
Expand Down

0 comments on commit 50f55a1

Please sign in to comment.