Skip to content

Commit 1c445dc

Browse files
haoxinsNicole00
andauthored
chore: fix warning (#331)
Co-authored-by: Anqi <[email protected]>
1 parent da59ebe commit 1c445dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

session.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ func (session *Session) ExecuteAndCheck(stmt string) (*ResultSet, error) {
191191

192192
if !rs.IsSucceed() {
193193
errMsg := rs.GetErrorMsg()
194-
return nil, fmt.Errorf("Fail to execute query. %s", errMsg)
194+
return nil, fmt.Errorf("fail to execute query. %s", errMsg)
195195
}
196196

197197
return rs, nil

0 commit comments

Comments
 (0)