Skip to content

Source maps not fully working for exceptions #5185

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

Open
strobe opened this issue May 29, 2025 · 0 comments
Open

Source maps not fully working for exceptions #5185

strobe opened this issue May 29, 2025 · 0 comments

Comments

@strobe
Copy link

strobe commented May 29, 2025

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?

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