Skip to content

Commit

Permalink
Merge pull request #294 from pabigot/pabigot/20211222a
Browse files Browse the repository at this point in the history
fix: retain full error information for blocking writes (#293)
  • Loading branch information
vlastahajek committed Jan 4, 2022
2 parents 4218b50 + 31b43d9 commit a8363f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/writeAPIBlocking.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func NewWriteAPIBlocking(org string, bucket string, service http2.Service, write
func (w *writeAPIBlocking) write(ctx context.Context, line string) error {
err := w.service.WriteBatch(ctx, iwrite.NewBatch(line, w.writeOptions.RetryInterval(), w.writeOptions.MaxRetryTime()))
if err != nil {
return err.Unwrap()
return err
}
return nil
}
Expand Down

0 comments on commit a8363f1

Please sign in to comment.