diff options
author | 2023-02-03 17:04:47 -0800 | |
---|---|---|
committer | 2023-02-03 17:04:47 -0800 | |
commit | 4590e2b83acbab63f1516c795f7f79a22f5d3083 (patch) | |
tree | 48a67bc6292e52d7979c3d7449ef03105b605ca3 /src/bun.js/api/bun.zig | |
parent | 2758e0cab9286acbb14a6b4f6d367f078a7a7350 (diff) | |
download | bun-4590e2b83acbab63f1516c795f7f79a22f5d3083.tar.gz bun-4590e2b83acbab63f1516c795f7f79a22f5d3083.tar.zst bun-4590e2b83acbab63f1516c795f7f79a22f5d3083.zip |
Add test for propagating exception
Diffstat (limited to 'src/bun.js/api/bun.zig')
-rw-r--r-- | src/bun.js/api/bun.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bun.js/api/bun.zig b/src/bun.js/api/bun.zig index d7e42dc90..da42e5feb 100644 --- a/src/bun.js/api/bun.zig +++ b/src/bun.js/api/bun.zig @@ -2922,7 +2922,7 @@ pub const Timer = struct { this.deinit(); // get the value out of the promise - _ = promise.result(this.globalThis.vm()); + _ = promise.result(globalThis.vm()); }, .Pending => { result.then(globalThis, this, CallbackJob__onResolve, CallbackJob__onReject); |