fullstorydev / fullstory-browser-sdk

Official FullStory SDK for JavaScript, for web browsers
MIT License
55 stars 17 forks source link

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

Open parkerault opened 2 years ago

parkerault commented 2 years ago

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.