mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 07:03:29 +00:00
shell: add missing try
This commit is contained in:
@@ -40,7 +40,7 @@ fn execJS(
|
||||
try js_env.start(alloc);
|
||||
defer js_env.stop();
|
||||
|
||||
js_env.setUserContext(UserContext{
|
||||
try js_env.setUserContext(UserContext{
|
||||
.document = doc,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user