Skip to content

Commit f99c999

Browse files
committed
Fix exception message
1 parent 3374b11 commit f99c999

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Query/AzureServiceBus/AzureClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public Task<IList<MetricValue>> GetMetrics(string queueName, DateOnly startTime,
131131

132132
if (metricQueryResult is null)
133133
{
134-
throw new Exception("No metrics query results returned for Microsoft.ServiceBus/Namespace");
134+
throw new Exception($"No metrics query results returned for {MicrosoftServicebusNamespacesMetricsNamespace}");
135135
}
136136

137137
var metricResult = metricQueryResult.GetMetricByName(CompleteMessageMetricName);

0 commit comments

Comments
 (0)