stacktrace-gps icon indicating copy to clipboard operation
stacktrace-gps copied to clipboard

Missing source files causes entire source map to be ignored

Open shadow-light opened this issue 4 years ago • 0 comments

Expected Behavior

The source map should be used to locate the original source files and locations

Current Behavior

If original source files cannot be obtained, an error is thrown which causes the entire source map to be ignored.

Steps to Reproduce (for bugs)

Have a setup where there is a source map, but the original source files are not available (only the bundled JS)

Context

Trying to map errors before reporting them to Rollbar in an Electron app

Your Environment

  • stacktrace-gps version: 3.0.4
  • Browser Name and version: Chrome 92
  • Operating System and version (desktop or mobile): Ubuntu
  • Link to your project: unpublished

Possible Solution

https://github.com/stacktracejs/stacktrace-gps/compare/master...shadow-light:custom?expand=1

shadow-light avatar Aug 16 '21 12:08 shadow-light