mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 11:20:03 +00:00
LibJS: Propagate errors from VM creation
This commit is contained in:
committed by
Linus Groh
parent
eb5aae24f4
commit
13dfadba79
@@ -189,7 +189,7 @@ int main(int argc, char** argv)
|
||||
g_main_hook();
|
||||
|
||||
if (!g_vm) {
|
||||
g_vm = JS::VM::create();
|
||||
g_vm = MUST(JS::VM::create());
|
||||
g_vm->enable_default_host_import_module_dynamically_hook();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user