Open cohix opened 2 years ago
Right now Javy will panic if something is missing from global because of line 212 in core/lib.rs:
let _ = context.eval_global(SCRIPT_NAME, &contents).unwrap();
We should match on that instead of unwrapping and provide a sane error instead of panicking.
Right now Javy will panic if something is missing from global because of line 212 in core/lib.rs:
We should match on that instead of unwrapping and provide a sane error instead of panicking.