Fix again
This commit is contained in:
parent
f5d30ae155
commit
46d854d0e9
1 changed files with 1 additions and 1 deletions
2
error.go
2
error.go
|
@ -47,7 +47,7 @@ func Join(errs ...error) (result error) {
|
|||
if index == 0 {
|
||||
result = err
|
||||
} else {
|
||||
result = fmt.Errorf("%w: %w", result, err)
|
||||
result = fmt.Errorf("%w: %w", result, fmt.Errorf("foo"))
|
||||
fmt.Println("1: ",result)
|
||||
fmt.Println("2: ",err)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue