Skip to content

Commit 7c9b4d6

Browse files
committed
Fix multi error
1 parent 0ed307e commit 7c9b4d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

common/exceptions/multi.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ func (e *multiError) Unwrap() []error {
2323
func Errors(errors ...error) error {
2424
errors = common.FilterNotNil(errors)
2525
errors = ExpandAll(errors)
26+
errors = common.FilterNotNil(errors)
2627
errors = common.UniqBy(errors, error.Error)
2728
switch len(errors) {
2829
case 0:

0 commit comments

Comments
 (0)