Skip to content

Add support for errors.Unwrap() in SetException#792

Merged
ribice merged 12 commits intogetsentry:masterfrom
ribice:master
Mar 26, 2024
Merged

Add support for errors.Unwrap() in SetException#792
ribice merged 12 commits intogetsentry:masterfrom
ribice:master

Conversation

@ribice
Copy link
Copy Markdown
Contributor

@ribice ribice commented Mar 8, 2024

Add support for handling errors using errors.Unwrap() in SetException.

Add ParentID, ExceptionID and Source to Exception.

Related issue: #693

RFC

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 8, 2024

Codecov Report

Attention: Patch coverage is 97.05882% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 82.06%. Comparing base (08cdc59) to head (cc8fda7).

Files Patch % Lines
interfaces.go 97.05% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #792      +/-   ##
==========================================
+ Coverage   81.97%   82.06%   +0.08%     
==========================================
  Files          49       49              
  Lines        4848     4872      +24     
==========================================
+ Hits         3974     3998      +24     
  Misses        732      732              
  Partials      142      142              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

cleptric
cleptric previously approved these changes Mar 12, 2024
@cleptric cleptric dismissed their stale review March 13, 2024 10:09

Further changes are required

@ribice ribice requested a review from cleptric March 13, 2024 14:16
@ribice ribice marked this pull request as ready for review March 13, 2024 23:09
@ribice ribice requested a review from phacops March 17, 2024 17:49
ribice and others added 3 commits March 26, 2024 14:07
Co-authored-by: Ivan Dlugos <6349682+vaind@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@vaind vaind left a comment

Choose a reason for hiding this comment

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

LGTM after a changelog entry is added

@ribice ribice requested a review from vaind March 26, 2024 16:44
Co-authored-by: Ivan Dlugos <6349682+vaind@users.noreply.github.com>
@ribice ribice merged commit 7b5b621 into getsentry:master Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants