Skip to content

Commit

Permalink
remove error wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
AdoAdoAdo committed Mar 11, 2024
1 parent d8f1e23 commit 80bdd6c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions process/firehoseDataProcessor.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,8 @@ func (dp *dataProcessor) saveBlock(marshalledData []byte) error {
header.GetTimeStamp(),
encodedMarshalledData,
)
if err != nil {
return fmt.Errorf("could not write %s , err: %w", blockPrefix, err)
}

return nil
return err
}

// Close will close the internal writer
Expand Down

0 comments on commit 80bdd6c

Please sign in to comment.