mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 10:58:56 +00:00
Fix crash when printing errors that are an unexpected type
This commit is contained in:
@@ -1707,7 +1707,7 @@ pub const VirtualMachine = struct {
|
||||
},
|
||||
else => {
|
||||
this.printErrorInstance(
|
||||
@intToEnum(JSValue, @intCast(i64, (@ptrToInt(value)))),
|
||||
@intToEnum(JSValue, @bitCast(JSValue.Type, (@ptrToInt(value)))),
|
||||
exception_list,
|
||||
Writer,
|
||||
writer,
|
||||
|
||||
Reference in New Issue
Block a user