From 1f5277cf57a263eb9c3836b62dbe6d7c76e96afb Mon Sep 17 00:00:00 2001 From: Fan Yang Date: Thu, 19 Dec 2024 17:07:56 +0800 Subject: [PATCH] Update backend/connpool.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- backend/connpool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/connpool.go b/backend/connpool.go index 2e91104..45232e9 100644 --- a/backend/connpool.go +++ b/backend/connpool.go @@ -117,7 +117,7 @@ func (p *ConnectionPool) CloseConn(id uint32) error { // the pool and will be closed instead. return driver.ErrBadConn }); err != nil && !errors.Is(err, driver.ErrBadConn) { - logrus.WithError(err).Warn("Failed to close connection") + logrus.WithError(err).Warn("Failed to close connection during Raw function call") return err } if err := conn.Close(); err != nil && !errors.Is(err, stdsql.ErrConnDone) {