Tempo error source fix (#112916)

fix tempo error source
This commit is contained in:
Gareth
2025-10-24 16:58:58 +09:00
committed by GitHub
parent 52cd4d434f
commit 20a11e0bc0
+1 -1
View File
@@ -127,7 +127,7 @@ func (s *Service) QueryData(ctx context.Context, req *backend.QueryDataRequest)
}
default:
return nil, fmt.Errorf("unsupported query type: '%s' for query with refID '%s'", q.QueryType, q.RefID)
return nil, backend.DownstreamErrorf("unsupported query type: '%s' for query with refID '%s'", q.QueryType, q.RefID)
}
if res != nil {