mirror of
https://github.com/redis/go-redis.git
synced 2025-12-02 06:22:31 +03:00
chore: add a TODO comment because of code review feedback
This commit is contained in:
@@ -487,6 +487,7 @@ func (hwm *handoffWorkerManager) closeConnFromRequest(ctx context.Context, reque
|
||||
} else {
|
||||
err := conn.Close() // Close the connection if no pool provided
|
||||
if err != nil {
|
||||
// TODO(ndyakov): extract this error as well.
|
||||
hwm.logger().Errorf(ctx, "redis: failed to close connection: %v", err)
|
||||
}
|
||||
hwm.logger().Warnf(ctx, logs.NoPoolProvidedCannotRemove(conn.GetID()))
|
||||
|
||||
Reference in New Issue
Block a user