chore(orm): add missing error checks (#15141)
This commit is contained in:
@@ -122,6 +122,9 @@ func (t tableImpl) doSave(ctx context.Context, writer *batchIndexCommitmentWrite
|
||||
|
||||
// store object
|
||||
bz, err := proto.MarshalOptions{Deterministic: true}.Marshal(message)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
err = writer.CommitmentStore().Set(pk, bz)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user