diff --git a/pool/error_pool.go b/pool/error_pool.go index 4bd317f..e1789e6 100644 --- a/pool/error_pool.go +++ b/pool/error_pool.go @@ -43,7 +43,7 @@ func (p *ErrorPool) Wait() error { } else if p.onlyFirstError { return errs[0] } else { - return errors.Join(p.errs...) + return errors.Join(errs...) } }