Skip to content

Commit 249bcab

Browse files
ndyakovCopilot
andauthored
Update internal/pool/pool.go
Co-authored-by: Copilot <[email protected]>
1 parent 22da2b5 commit 249bcab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/pool/pool.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ func (p *ConnPool) getConn(ctx context.Context) (*Conn, error) {
443443
if hookManager != nil {
444444
if err := hookManager.ProcessOnGet(ctx, newcn, true); err != nil {
445445
// Failed to process connection, discard it
446-
log.Printf("redis: connection pool: failed to process new connection by hook: %v", err)
446+
internal.Logger.Printf("redis: connection pool: failed to process new connection by hook: %v", err)
447447
_ = p.CloseConn(newcn)
448448
return nil, err
449449
}

0 commit comments

Comments
 (0)