Former-commit-id: 0d79861a94
This commit is contained in:
Jarred Sumner
2021-07-22 15:41:03 -07:00
parent e914c5f3d2
commit 610c75a492
9 changed files with 732 additions and 135 deletions

View File

@@ -988,6 +988,7 @@ pub const Module = struct {
js.JSValueUnprotect(global_ctx, commonjs_wrapper);
}
if (except != null) {
var message = js.JSValueToStringCopy(function_ctx, except.?, null);
defer js.JSStringRelease(message);