Skip to content

Commit

Permalink
Make trailing slashes consistent in code mapping example (#9148)
Browse files Browse the repository at this point in the history
  • Loading branch information
leothorp authored Feb 15, 2024
1 parent 8dbe932 commit a87ee3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/product/issues/suspect-commits/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Next, locate the file seen in the stack trace with your source code provider (e.

![An example of a file in source control](/product/issues/suspect-commits/code-mappings-source-file.png)

Compare the file path from the stack trace with the path found in your source repository. In this example, the `src/` folder in the stack trace matches the `flask/src` folder in the source code. Using that information, set the **Stack Trace Root** to `src/` and the **Source Code Root** to `flask/src/`. This tells Sentry to replace all file paths beginning in `src/` with `flask/src/` when searching for the source code.
Compare the file path from the stack trace with the path found in your source repository. In this example, the `src/` folder in the stack trace matches the `flask/src/` folder in the source code. Using that information, set the **Stack Trace Root** to `src/` and the **Source Code Root** to `flask/src/`. This tells Sentry to replace all file paths beginning in `src/` with `flask/src/` when searching for the source code.

For best results, we recommend always providing a non-empty value for the **Stack Trace Root** when possible.

Expand Down

0 comments on commit a87ee3e

Please sign in to comment.