Skip to content

Commit

Permalink
fix incorrect logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Rick Bijkerk committed Jan 8, 2025
1 parent 54135ab commit b6ec3b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/business/trusteddocuments/persisted_operations.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ func (p *Handler) Validate(validate func(operation string) gqlerror.List) []vali
func (p *Handler) load(failureStrategy ReloadFailureStrategy) error {
newState, err := p.loader.Load(context.Background())
if err != nil {
p.log.Error("error loading persisted operations", err)
p.log.Error("error loading persisted operations", "err", err)
loadingResultCounter.WithLabelValues(p.loader.Type(), "failure").Inc()
if failureStrategy == ReloadFailureStrategyReject {
return err
Expand Down

0 comments on commit b6ec3b6

Please sign in to comment.