Commit 2e8181ac authored by jochen's avatar jochen Committed by Commit bot

When converting an mjsunit exception to a string, include the stack

Makes debugging failures a bit easier

BUG=none
R=ulan@chromium.org
LOG=n

Review URL: https://codereview.chromium.org/1398703007

Cr-Commit-Position: refs/heads/master@{#31195}
parent 2daea448
......@@ -39,7 +39,7 @@ function MjsUnitAssertionError(message) {
MjsUnitAssertionError.prototype.toString = function () {
return this.message;
return this.message + "\n\nStack: " + this.stack;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment