From de6d1f54e3d2002d250f1e9b87e7db8b9f71b6e0 Mon Sep 17 00:00:00 2001 From: Xin Hao Date: Tue, 2 Apr 2024 17:27:49 +0800 Subject: [PATCH] chore: fix warning --- session.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/session.go b/session.go index 3ceccd61..609f70f9 100644 --- a/session.go +++ b/session.go @@ -191,7 +191,7 @@ func (session *Session) ExecuteAndCheck(stmt string) (*ResultSet, error) { if !rs.IsSucceed() { errMsg := rs.GetErrorMsg() - return nil, fmt.Errorf("Fail to execute query. %s", errMsg) + return nil, fmt.Errorf("fail to execute query. %s", errMsg) } return rs, nil