We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdb6619 commit af906edCopy full SHA for af906ed
1 file changed
go/javascript.go
@@ -66,6 +66,7 @@ func newJavaScriptVM(script string, w io.Writer) (*javaScriptVM, error) {
66
return goja.Undefined()
67
})
68
if err != nil {
69
+ return nil, fmt.Errorf("failed to set console.log: %w", err)
70
}
71
err = vm.Set("console", console)
72
0 commit comments