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

Capture errors in sentry better #5128

Merged
merged 4 commits into from
Jun 11, 2023
Merged

Capture errors in sentry better #5128

merged 4 commits into from
Jun 11, 2023

Conversation

jeremy-rifkin
Copy link
Member

@jeremy-rifkin jeremy-rifkin commented Jun 10, 2023

Fixes #5127 and similar issues.

Rationale: Whenever something that is not an Error object is passed to Sentry.captureException we get pretty much no useful information in sentry
image
(usually not even a stacktrace)

@github-actions github-actions bot added the ui label Jun 10, 2023
@jeremy-rifkin jeremy-rifkin marked this pull request as draft June 10, 2023 19:58
@jeremy-rifkin jeremy-rifkin changed the title Capture $.get errors better Capture errors in sentry better Jun 10, 2023
@jeremy-rifkin jeremy-rifkin marked this pull request as ready for review June 10, 2023 20:21
Copy link
Member

@RubenRBS RubenRBS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great improvement, this will help a lot :)

@jeremy-rifkin jeremy-rifkin merged commit acdd5ad into main Jun 11, 2023
13 checks passed
@jeremy-rifkin jeremy-rifkin deleted the jr/fix/5127 branch June 11, 2023 21:31
@partouf
Copy link
Contributor

partouf commented Jun 14, 2023

this is now live

mattgodbolt pushed a commit that referenced this pull request Jul 22, 2023
Fixes #5127 and similar issues.

Rationale: Whenever something that is not an Error object is passed to
Sentry.captureException we get pretty much no useful information in
sentry

![image](https://github.com/compiler-explorer/compiler-explorer/assets/51220084/c7345449-f7a0-46cb-a198-abe0bd80a8b1)
(usually not even a stacktrace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Non-Error exception captured with keys: abort, always, catch, done, fail
3 participants