Skip to content

Commit defbb4f

Browse files
committed
use catch scope
1 parent d51be77 commit defbb4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bun.js/bindings/ZigGlobalObject.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3193,7 +3193,7 @@ void GlobalObject::finishCreation(VM& vm)
31933193
[](const JSC::LazyProperty<JSC::JSGlobalObject, JSC::JSMap>::Initializer& init) {
31943194
auto* global = init.owner;
31953195
auto& vm = init.vm;
3196-
auto scope = DECLARE_THROW_SCOPE(vm);
3196+
auto scope = DECLARE_CATCH_SCOPE(vm);
31973197

31983198
// if we get the termination exception, we'd still like to set a non-null Map so that
31993199
// we don't segfault

0 commit comments

Comments
 (0)