Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package source code in Sentry #598

Open
enumag opened this issue Mar 7, 2023 · 5 comments
Open

Package source code in Sentry #598

enumag opened this issue Mar 7, 2023 · 5 comments

Comments

@enumag
Copy link

enumag commented Mar 7, 2023

Summary

I successfully set up Sentry for my project and can see the errors there including stack traces.
However while for my own code I can click and show a piece of the code around the line, the same isn't possible for the stack trace lines that point to a package - the first 7 lines in the screenshot are missing the toggling arrow on the right.

Screenshot from 2023-03-07 13-44-02

Is it possible to setup sentry in a way that the source code from packages would be available there as well?

Motivation

It would help understanding the context of the error.

@cleptric
Copy link
Member

cleptric commented Mar 7, 2023

Have a look at https://docs.sentry.io/platforms/go/troubleshooting/#missing-stack-trace on how to enable source contexts.
Refs #177

@enumag
Copy link
Author

enumag commented Mar 7, 2023

@cleptric Thanks but I already found that before creating the issue. The https://docs.sentry.io/platforms/go/serverless/#source-context only contains an example how to add in my own sources but not how to make sentry correctly locate package sources.

@cleptric
Copy link
Member

cleptric commented Mar 7, 2023

Sorry, I miss-read the issue.

@github-actions
Copy link

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

@enumag
Copy link
Author

enumag commented Aug 15, 2023

Why was the backlog tag removed? This would be very useful.

@ribice ribice self-assigned this Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants