From b3434a8b883ee98324cea2c7d14dd988e6bb8adc Mon Sep 17 00:00:00 2001 From: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Date: Sun, 23 Oct 2022 22:29:23 -0700 Subject: Add `fd` to `SystemError` and fix 2 cases with invalid tagged union cc @sno2 --- src/bun.js/javascript.zig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/bun.js/javascript.zig') diff --git a/src/bun.js/javascript.zig b/src/bun.js/javascript.zig index 9ba69aaa2..a5297e90c 100644 --- a/src/bun.js/javascript.zig +++ b/src/bun.js/javascript.zig @@ -2009,6 +2009,7 @@ pub const VirtualMachine = struct { syscall: bool = false, errno: bool = false, path: bool = false, + fd: bool = false, }; var show = Show{ @@ -2016,6 +2017,7 @@ pub const VirtualMachine = struct { .syscall = exception.syscall.len > 0, .errno = exception.errno < 0, .path = exception.path.len > 0, + .fd = exception.fd != -1, }; if (show.path) { -- cgit v1.2.3