[BUG] [Azure Service Bus] Error "'description' cannot be null" when you check if a queue exists but the name is used for a topic #19512
Labels
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Service Bus
Milestone
Description
For the Azure Service Bus, you have the scenario in which you created a topic called
exampleName
.When you check if a queue with that name exists you get an error.
The behavior is right but the logging error is wrong.
Stack Trace
Code Snippet
Expected behavior
The description is null just because the structure is a topic and not a queue.
I think that the message could be
'exampleName' is not a queue, it is a topic.
This happens also when the structure is a queue and you check the existing for a topic.
This fix is very helpful because it often occurs that you want to change from queue to topic and vice versa.
The right message can remember you that you forgot to delete the queue and recreate it as a topic.
The text was updated successfully, but these errors were encountered: