rabbitmq-dotnet-client icon indicating copy to clipboard operation
rabbitmq-dotnet-client copied to clipboard

Do not create exceptions just for logging

Open paulomorgado opened this issue 1 year ago • 1 comments

Describe the bug

Some exceptions are being created just for logging here and here

Reproduction steps

Just log the error. No need for an exception.

But, if it's really needed, don't use System.Exception: see #1439

Expected behavior

No exception is created just for logging.

Additional context

No response

paulomorgado avatar Dec 05 '23 16:12 paulomorgado