Skip to content

Commit cd57986

Browse files
committed
chore: add a TODO comment because of code review feedback
1 parent 2d43cb1 commit cd57986

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

maintnotifications/handoff_worker.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,7 @@ func (hwm *handoffWorkerManager) closeConnFromRequest(ctx context.Context, reque
487487
} else {
488488
err := conn.Close() // Close the connection if no pool provided
489489
if err != nil {
490+
// TODO(ndyakov): extract this error as well.
490491
hwm.logger().Errorf(ctx, "redis: failed to close connection: %v", err)
491492
}
492493
hwm.logger().Warnf(ctx, logs.NoPoolProvidedCannotRemove(conn.GetID()))

0 commit comments

Comments
 (0)