Skip to content

Commit

Permalink
add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
mhamza15 committed Jan 28, 2025
1 parent 0aff7e0 commit 0fb6f1a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions go/pools/smartconnpool/pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@ func (pool *ConnPool[C]) put(conn *Pooled[C]) {
var err error
conn, err = pool.connNew(context.Background())
if err != nil {
log.Errorf("========================= put ERROR: %s", err.Error())
pool.closedConn()
return
}
Expand Down

0 comments on commit 0fb6f1a

Please sign in to comment.