AV6
deno runtime extensions seems to be not working
the example provided here https://github.com/denoland/deno/tree/main/runtime/examples/extension_with_esm seems to be not working. when the js file is executed, i get an error
Error: TypeError: Deno[Deno.internal].core.opSync is not a function
. what changed, i am able to register an extension with JsRuntime directly but not through workerOptions.
wondering how to fix this. How do we access the extension ops from the js side in the latest version?2 replies
rusty_v8 extracting stack trace when a promise rejects
Hi, i am trying to get the stack trace and print it out when a promise rejects.
in the above example, i have the
retval
as the exception string which contains something like TypeError: Assignment to constant variable.
. But how do i extract exception stack trace and get the line number and other details as well from this?4 replies