Skip to content

Commit e68e0a5

Browse files
committed
Better error message
1 parent ecb64e9 commit e68e0a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceControl.Transports.ASBS/AzureQuery.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ async Task<MetricsClient> InitializeMetricsClient(CancellationToken cancellation
238238

239239
var serviceBusNamespaceResource = await armClient
240240
.GetServiceBusNamespaceResource(resourceId).GetAsync(cancellationToken)
241-
?? throw new Exception($"Could not find ServiceBus with resource Id: \"{resourceId}\"");
241+
?? throw new Exception($"Could not find an Azure Service Bus namespace with resource Id: \"{resourceId}\"");
242242

243243
// Determine the region of the namespace
244244
var regionName = serviceBusNamespaceResource.Value.Data.Location.Name;

0 commit comments

Comments
 (0)