You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is fascinating. Even without callAndWrapError, similar problems may arise when throwing through a membrane. We should think about this in https://github.com/tc39/proposal-error-stacks
I'm not sure if this should be a separate issue, but when creating a plugin for metamask's new plugin system, evaluating an SES root realm threw the error, possible html comment syntax rejected around line 30033 I can tell that this is an error somewhere in a dependency I just added, but it would be nice to know where in the dependency it is throwing the error, if possible.
callAndWrapError
do evil. It ate the real useful stack generated by V8.After replacing callAndWrapError with
(target, ...args) => target(...args)
, the code stack is debuggable now.As you can see, after removing callAndWrapError, I can click into the VM1421 to find out why it throws.
Also reported in https://bugs.chromium.org/p/chromium/issues/detail?id=1008872
The text was updated successfully, but these errors were encountered: