Skip to content

Source maps not fully working for exceptions #5185

@strobe

Description

@strobe

For some reason, errors contain correct file links from the source maps, but exceptions do not (in Chrome).

I created an example project based on https://github.com/vmunier/play-scalajs.g8 from https://www.scala-js.org/libraries/skeletons.html to demonstrate issue.

The client app simply throws an Error and an Exception at startup. In the Chrome console, there's a clear difference in how errors and exceptions are displayed:

Image

I'm experiencing a similar issue in a mid-sized project based on mill, and I haven't been able to find any configuration changes that fix it.

Is this expected behavior?

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