mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 10:58:56 +00:00
Update javascript.zig
This commit is contained in:
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user