Permalink
Browse files

Print stack traces in evidence errors when available

  • Loading branch information...
1 parent 61962fd commit b63783eacfe49f20b0e9169ed4597a8bf027c0ba @madrobby committed Dec 4, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 vendor/evidence.js
View
@@ -334,7 +334,7 @@ function TestCase(methodName) {
this._result.addSkip(this, e);
break;
default:
- this._result.addError(this, e);
+ this._result.addError(this, e + ('stack' in e ? "\n"+e.stack : ''));
}
}

0 comments on commit b63783e

Please sign in to comment.