-
Notifications
You must be signed in to change notification settings - Fork 422
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
Add Sentry Error Tracking #2670
Conversation
Also add Minecraft Version to error context
Haven't looked in to the code, so you might have already added this. |
We could put the DSN into repository secret/variable and populate the DSN during build-time, just like how we populate the build info. Correspondingly, the code would need to check the DSN string before initializing Sentry SDK. |
- Send the user-friendly Minecraft Version in the error logs - Capture exceptions in more parts of the application We now capture exceptions from the following locations: - Protocol18 (1.8+) Packet errors - Errors during client initialization phase (When client is about to start, session keys are NEVER sent to sentry)
The Sentry DSN will automatically be filled out on the main repository through the Github Actions build.
Update sed command
nitpick, just to make it a little bit more descriptive
Currently sends information about the current .NET Runtime and the Operating System.
Here is a screenshot of all the information that is sent to Sentry whenever a crash occurs:
Very long screenshot
Currently uses my personal DSN.
Will need to change that to our DSN before merging.