From 20a11e0bc048e11976eaeab71d4aaf96b1fd9b62 Mon Sep 17 00:00:00 2001 From: Gareth Date: Fri, 24 Oct 2025 16:58:58 +0900 Subject: [PATCH] Tempo error source fix (#112916) fix tempo error source --- pkg/tsdb/tempo/tempo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/tsdb/tempo/tempo.go b/pkg/tsdb/tempo/tempo.go index a7c8fdf1ee6..1224c3b7029 100644 --- a/pkg/tsdb/tempo/tempo.go +++ b/pkg/tsdb/tempo/tempo.go @@ -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 {