I’m trying to get Sentry working nicely with an Electron application I maintain and so far all is going well. Errors are being sent through and it’s coming through with all the extras I set.
However, the code in my app is minified and transpiled so I need to upload my sourcemaps to make the error traces readable. However, as it is an Electron application the “url” of each file changes from install to install.
This is because the url is the local file system path which changes based on the user’s drive letter config and the user’s username itself.
As such I don’t believe Sentry is correctly identifying how to use the sourcemaps I uploaded. Is there any way to provide the “–url-prefix” as a glob or a wildcard so that I can match a error path like this
to a prefix like this
“*\app.asar” with a file path of “thing.js”