Replies: 1 comment
-
Hey @niksy - thanks for the feedback! I would recommend against using Could you open a GH issue https://github.com/getsentry/sentry as a feature request? We can get someone on the issues team to help you. Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, stack trace filename is displayed like this, with filename absolute path display by default:

I wanted to simplify filename display to strip common directory from all filenames so I used
RewriteFrames
integration. Usingroot
andprefix
options always show "source not found" notification so I thought it’s related to source maps.These are source files so there isn’t any source map to upload (as it can be seen from first screenshot).
I thought this could be achieved if I added
abs_path
field to frame insideiteratee
callback:But this also shows "source not found" notification:

What I did achieve is I managed to strip project root from filename but absolute path is displayed in tooltip, but still no original source code:

Is it possible to achieve something like this without resorting to source map upload since there aren’t any source maps to upload?
I think PHP integration works something like this and it successfully shows tooltip, simplified filename path and original source code.
Beta Was this translation helpful? Give feedback.
All reactions