Skip to content

Commit

Permalink
log error on save error
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-iohk committed Mar 22, 2024
1 parent ff5e0a4 commit 4cebf43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/delegation_backend/aws_keyspaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ func (kc *KeyspaceContext) KeyspaceSave(objs ObjectsToSave) {
}
kc.Log.Debugf("KeyspaceSave: Saving submission for block: %v, submitter: %v, submitted_at: %v", submissionToSave.BlockHash, submissionToSave.Submitter, submissionToSave.SubmittedAt)
if err := kc.insertSubmission(submissionToSave); err != nil {
kc.Log.Warnf("KeyspaceSave: Error saving submission to Keyspaces: %v", err)
kc.Log.Errorf("KeyspaceSave: Error saving submission to Keyspaces: %v", err)
}
}

Expand Down

0 comments on commit 4cebf43

Please sign in to comment.