-
Notifications
You must be signed in to change notification settings - Fork 281
Private source maps support #173
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
Comments
I can't see why you couldn't capture the stack trace of the minified version, send it to the developer. Then the developer then opens a page. You can paste the minified stack trace in and it can convert it back into a stack trace, then run the source map over it (which is available to the developer). Not sure how to convert the stack trace to JSON then back again though? Still would be not very automated. Ideally, I'd like the minified stack trace sent to a server, which then can do the source mapping. |
I would love to have this feature too. I want to have obfuscated code and clear log message in the same time. Please let me know if I can help somehow. |
Any update/progress on this? Being able to use stacktrace-gps with private source maps would be great! |
I'm trying to think of the best way to solve this. It seems like the only really secure way is to have a node-based tool that loads source maps from the local filesystem. The problem with hosting source maps on the web in a "secret" location (the way Errorception does this) is that the URL is plain text and so is exposed in ways that passwords are not. It would take me a while to find enough time to develop a separate tool for this unless it's easy or I have community help. Maybe there's another clever way to handle this, or someone wants to provide a design specification that would help us all get it solved. |
any updates? |
Hi @eriwen, Any updates on the feature request? |
I'm trying to think through an approach for using private SourceMaps with stacktracejs. Since the error logger runs on the client, it needs to parse the SourceMap for accurate information - correct? Is it even possible to do this privately?
The text was updated successfully, but these errors were encountered: