Update javascript.zig

This commit is contained in:
Jarred Sumner
2022-03-15 04:49:52 -07:00
parent 2ea7970a82
commit 8a52e09e8b

View File

@@ -2783,8 +2783,6 @@ pub const VirtualMachine = struct {
}
pub fn defaultErrorHandler(this: *VirtualMachine, result: JSValue, exception_list: ?*ExceptionList) void {
this.last_error_jsvalue = result;
if (result.isException(this.global.vm())) {
var exception = @ptrCast(*Exception, result.asVoid());