sentry-go icon indicating copy to clipboard operation
sentry-go copied to clipboard

Add support for errors.Unwrap() in SetException

Open ribice opened this issue 11 months ago • 1 comments

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

Add ParentID, ExceptionID and Source to Exception.

Related issue: #693

RFC

ribice avatar Mar 08 '24 17:03 ribice

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 :warning:
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              

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Mar 08 '24 18:03 codecov[bot]