Skip to content

Commit c3e8950

Browse files
authored
return executedquerystring when error (#117)
1 parent 3c40947 commit c3e8950

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datasource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ func (ds *SQLDatasource) handleQuery(ctx context.Context, req backend.DataQuery,
291291
}
292292
}
293293

294-
return nil, err
294+
return res, err
295295
}
296296

297297
func (ds *SQLDatasource) dbReconnect(ctx context.Context, dbConn dbConnection, q *Query, cacheKey string) (*sql.DB, error) {

0 commit comments

Comments
 (0)