getsentry / sentry-webpack-plugin

Repo moved to https://github.com/getsentry/sentry-javascript-bundler-plugins. Please open any issues/PRs there.
MIT License
662 stars 116 forks source link

How to match absolute path? #377

Closed yutucc closed 1 year ago

yutucc commented 2 years ago

Environment

"electron": "11.1.0",
"@sentry/webpack-plugin": "^1.18.9",

Steps to Reproduce

I have a web page use the electron Renderer Process to render

in this web page, I use the sentry

Before that I had upload the sourcemap like this: image

when sentry catch error and reported like this: image

~/web/work-test/static/js/index.dfb14657.js unable to match /Applications/%E5%A6%99%E5%B0%8F%E7%A8%8B%E5%9B%BE%E5%BD%A2%E5%8C%96%E5%AE%A2%E6%88%B7%E7%AB%AF-%E6%B5%8B%E8%AF%95%E7%89%88.app/Contents/Resources/app/web/work-test/static/js/index.dfb14657.js

and the sourcemap useless

Expected Result

I want to match absolute path

Actual Result

unable to match absolute path

lforst commented 2 years ago

We recommend to use the RewriteFrames integration in this case.

lforst commented 1 year ago

Closing this because stale. Feel free to reopen any time!