agoric-labs / jessica

Jessica - Jessie (secure distributed Javascript) Compiler Architecture
Apache License 2.0
35 stars 9 forks source link

huge slog data:... URL in stack trace #36

Open dckc opened 3 years ago

dckc commented 3 years ago

@michaelfig any idea why this huge data URL is in the stack track or how to get rid of it?

error: Syntax error at 752 "m" #0:752 Error
    at /home/connolly/projects/js2rho/node_modules/@michaelfig/slog/dist/slog.cjs.js:118:25
    at Function.tag [as error] (/home/connolly/projects/js2rho/node_modules/@michaelfig/slog/dist/slog.cjs.js:69:20)
    at /home/connolly/projects/js2rho/lib/vendor/jessica/lib/boot-peg.js:88:13
    at Object.start (data:%20%20%20%20(function(act_0%2C% .... VERY VERY LONG DATA URL

https://gist.github.com/dckc/416bf86bc11b8e052b20daff95018a7f

michaelfig commented 3 years ago

I think the problem is with some sourceURL (or missing sourceURL) in an evaled string. Hope that's enough to help you out.

While I love jessica, I need to let her fend for herself until I can devote more attention. There's a lot of things about jessica that were just me learning my way around JS+TypeScript. I'm better now. Really. 😝

dckc commented 3 years ago

Cool. Thanks