Stack frame path doesn't match a source file artifact name
Environment
self-hosted (https://develop.sentry.dev/self-hosted/)
Steps to Reproduce
I'm using the Sentry CLI to upload with release and dist parameters. In the code, the location where the error occurs doesn't match the location shown in the stack trace. Sometimes it points to a different file or a few lines above/below. Despite including the map file, I get an "artifact not found" warning. The path it expects to match exists in the artifacts with the same release and dist numbers, but it doesn't accept it.
Note: I'm also using the no-dedupe and url-prefix parameters during the upload.
Upload command:
sentry.exe sourcemaps upload --release=$version $sentryFiles --no-dedupe --url-prefix "~/$version/$mapFilesPath --dist web
Command Output:
sentry.exe sourcemaps upload --release=v1000 *.map,*.js --no-dedupe --url-prefix "~/v1000/www\js" --dist web
Expected Result
Displaying the error in the correct file and line within the stack trace.
Actual Result
Product Area
Issues - Source Maps
Link
No response
DSN
No response
Version
25.3.0`
Auto-routing to @getsentry/product-owners-issues for triage ⏲️
Thanks for filing. Can you please share what command you use for creating the release and uploading the source maps?
Thanks for filing. Can you please share what command you use for creating the release and uploading the source maps?
Of course. I added the command with variables. There are path and version. Command runs on Windows server.
My apologies I missed that 😅 I'm trying to find the right team to handle this.
Self-hosted issues like this are unfortunately difficult to diagnose. @orcuntuna Do you have an event JSON file that exhibits this issue you can post here or mail to me privately?
Self-hosted issues like this are unfortunately difficult to diagnose. @orcuntuna Do you have an event JSON file that exhibits this issue you can post here or mail to me privately?
Can you share your email address with me?
Sorry, of course. It's [email protected].