v0.0.568 remove duplicate ids in ExErr.UniqueIDs
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 2m38s
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 2m38s
This commit is contained in:
@@ -371,7 +371,7 @@ func (ee *ExErr) GetExtra(key string) (any, bool) {
|
||||
}
|
||||
|
||||
func (ee *ExErr) UniqueIDs() []string {
|
||||
ids := []string{ee.UniqueID}
|
||||
ids := make([]string, 0, 1)
|
||||
for curr := ee; curr != nil; curr = curr.OriginalError {
|
||||
ids = append(ids, curr.UniqueID)
|
||||
}
|
||||
|
Reference in New Issue
Block a user