Skip to content

Missing source files causes entire source map to be ignored #77

Open
@shadow-light

Description

@shadow-light

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions