From 5600829750cf0e8243b356c3024a0ddc2f2c7d5c Mon Sep 17 00:00:00 2001 From: Ichinose Shogo Date: Wed, 9 Sep 2020 10:07:07 +0900 Subject: [PATCH] fix handling the error of QueryContext --- xraysql/conn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xraysql/conn.go b/xraysql/conn.go index ea84ab4..7f22a06 100644 --- a/xraysql/conn.go +++ b/xraysql/conn.go @@ -201,7 +201,7 @@ func (conn *driverConn) QueryContext(ctx context.Context, query string, args []d } conn.attr.populate(ctx, query) seg.AddError(err) - return rows, nil + return rows, err } func (conn *driverConn) Close() error {