Skip to content

Commit 8cf25bb

Browse files
eaglerayprayshih
authored andcommitted
update: return bulk result if error
1 parent eeefdec commit 8cf25bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bulk.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ func (b *Bulk) Run() (*BulkResult, error) {
312312
}
313313
if failed {
314314
sort.Sort(bulkErrorCases(berr.ecases))
315-
return nil, &berr
315+
return &result, &berr
316316
}
317317
return &result, nil
318318
}

0 commit comments

Comments
 (0)