ds-querier: return error if failed to get ds client (#97698)

* ds-querier: return error if failed to get ds client

* add log line

* no empty ref

* fix test
This commit is contained in:
Adam Simpson
2024-12-17 10:38:44 -05:00
committed by GitHub
parent 27c979b0bf
commit 57d94ed01f
2 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ func TestIntegrationSimpleQuery(t *testing.T) {
require.Error(t, err, "expecting a 400")
require.JSONEq(t, `{
"results": {
"": {
"A": {
"error": "[sse.dependencyError] did not execute expression [Y] due to a failure to of the dependent expression or query [X]",
"status": 400,
"errorSource": ""