jessica icon indicating copy to clipboard operation
jessica copied to clipboard

huge slog data:... URL in stack trace

Open dckc opened this issue 4 years ago • 2 comments
trafficstars

@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

dckc avatar Feb 27 '21 22:02 dckc

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. 😝

michaelfig avatar Feb 28 '21 01:02 michaelfig

Cool. Thanks

dckc avatar Feb 28 '21 02:02 dckc