Skip to content

Commit

Permalink
tbc: fix log using %w verb (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuasing authored Sep 12, 2024
1 parent fcba463 commit a136e26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/tbc/tbc.go
Original file line number Diff line number Diff line change
Expand Up @@ -1144,7 +1144,7 @@ func (s *Server) blockExpired(ctx context.Context, key any, value any) {
if err := p.close(); err != nil {
log.Errorf("block expired: %v %v", p, err)
}
log.Errorf("block expired: %v %w", p, err)
log.Errorf("block expired: %v %v", p, err)
}
}
}
Expand Down

0 comments on commit a136e26

Please sign in to comment.