diff --git a/oci8.go b/oci8.go
index <HASH>..<HASH> 100644
--- a/oci8.go
+++ b/oci8.go
@@ -554,6 +554,9 @@ func (c *OCI8Conn) Query(query string, args []driver.Value) (driver.Rows, error)
 		}
 	}
 	rows, err := c.query(context.Background(), query, list)
+	if err != nil {
+		return nil, err
+	}
 	rows.(*OCI8Rows).cls = true
 	return rows, err
 }
Unchecked error in query fixed