Add extra debuging
This commit is contained in:
parent
7efb404960
commit
e835556903
1 changed files with 2 additions and 0 deletions
2
error.go
2
error.go
|
@ -35,7 +35,9 @@ func filterNilErrors(errs []error) (notNilErrs []error) {
|
|||
}
|
||||
|
||||
func Join(errs ...error) (result error) {
|
||||
fmt.Println(errs)
|
||||
errs = filterNilErrors(errs)
|
||||
fmt.Println(errs)
|
||||
if len(errs) == 0 {
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue