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

fs.js alters stack trace from v8 console methods #137

Open
parkerault opened this issue Apr 6, 2022 · 0 comments
Open

fs.js alters stack trace from v8 console methods #137

parkerault opened this issue Apr 6, 2022 · 0 comments

Comments

@parkerault
Copy link

parkerault commented Apr 6, 2022

fs.js seems to be wrapping the console methods info, warn, and error (maybe others). We use console methods extensively for logging, and it's a little off putting to see fs.js:3 everywhere instead of the line from our source maps. Example:

image

You can see in the screenshot that calls to console.debug are unaffected. The calling location does show up lower down the stack trace, but it's just one of those minor annoyances that adds up to a major irritation over time.

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