rabbitmq / rabbitmq-dotnet-client

RabbitMQ .NET client for .NET Standard 2.0+ and .NET 4.6.2+
https://www.rabbitmq.com/dotnet.html
Other
2.05k stars 575 forks source link

Pass exception back up to application code #1438

Closed lukebakken closed 7 months ago

lukebakken commented 7 months ago

Fixes #1434

lukebakken commented 7 months ago

@pabermod - Please give my fix a review and test. I added your test project to this project's solution, on a temporary basis, to make it easy to debug.

Be sure to update submodules:

git pull
git checkout rabbitmq-dotnet-client-1434
git submodule update --init

# Run the test program
.\rabbitmq-dotnet-client-1434\RabbitMQRedirectAssembly\bin\Debug\net462\RabbitMQRedirectAssembly.exe
pabermod commented 7 months ago

This fix is working as expected. Thanks!

lukebakken commented 7 months ago

@pabermod thank you for testing this so quickly!