diff --git a/conn.go b/conn.go index b541018..14cd991 100644 --- a/conn.go +++ b/conn.go @@ -315,9 +315,10 @@ func (c *conn) buildRequest(ctx context.Context, query string, params []driver.V if c.killQueryOnErr && queryID == "" { queryUUID, err := uuid.NewV4() if err != nil { - return nil, err + c.log("can't generate query_id: ", err) + } else { + queryID = queryUUID.String() } - queryID = queryUUID.String() } reqQuery := req.URL.Query()