Skip to content

Commit

Permalink
use pointer func
Browse files Browse the repository at this point in the history
  • Loading branch information
ribice committed Mar 26, 2024
1 parent e296de3 commit c7da1af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interfaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ func (e *Event) SetException(exception error, maxErrorDepth int) {
if i == 0 {
continue
}
e.Exception[i].Mechanism.ParentID = &e.Exception[i-1].Mechanism.ExceptionID
e.Exception[i].Mechanism.ParentID = Pointer(i - 1)
}
}

Expand Down

0 comments on commit c7da1af

Please sign in to comment.