When not using dead lettering, logging is made by the PoisonQueueErrorHandler, but when using dead lettering, this is short circuited and only warnings are logged.
This PR makes sure that messages that are dead lettered also are error logged.
Rebus is MIT-licensed. The code submitted in this pull request needs to carry the MIT license too. By leaving this text in, I hereby acknowledge that the code submitted in the pull request has the MIT license and can be merged with the Rebus codebase.
When not using dead lettering, logging is made by the PoisonQueueErrorHandler, but when using dead lettering, this is short circuited and only warnings are logged.
This PR makes sure that messages that are dead lettered also are error logged.
Rebus is MIT-licensed. The code submitted in this pull request needs to carry the MIT license too. By leaving this text in, I hereby acknowledge that the code submitted in the pull request has the MIT license and can be merged with the Rebus codebase.