Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use console.log with parameters #110

Open
mhmd-azeez opened this issue Dec 3, 2024 · 0 comments
Open

Can't use console.log with parameters #110

mhmd-azeez opened this issue Dec 3, 2024 · 0 comments

Comments

@mhmd-azeez
Copy link

const obj = {};
console.log('obj: ', obj)
go run ../cli/app plugin test schema/schema.wasm --with schema-test/dist/plugin.wasm --log-level trace
2024/12/03 17:52:50 No runtime detected
2024/12/03 17:52:51 No runtime detected
2024/12/03 17:52:51 Calling function : test
Error: Exception generated by QuickJS
Log file: /home/mo/.cache/xtp/xtp-1733237570-133866.log
exit status 1
make: *** [Makefile:6: test-schema] Error 1
❯ cat /home/mo/.cache/xtp/xtp-1733237570-133866.log
{"level":"error","msg":"Exception generated by QuickJS","time":"2024-12-03T17:52:51+03:00"}
/mnt/d/dylibso/xtp/plugins add-new-extism-imports *31 !14 ?1
❯

This used to work on v1.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant