Skip to content

Commit 08e121c

Browse files
committed
[js] Better message for uncaught exceptions.
1 parent 6ef30d3 commit 08e121c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vm/js/nqp-runtime/runtime.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ Ctx.prototype.propagateException = function(exception) {
222222
}
223223
ctx = ctx.caller;
224224
}
225-
throw exception.msg;
225+
throw exception.message;
226226
};
227227

228228
Ctx.prototype.catchException = function(exception) {

0 commit comments

Comments
 (0)