core
core copied to clipboard
fix(messenger): unwrap DelayedMessageHandlingException when dispatching a delayed message
| Q | A |
|---|---|
| Branch? | 2.6 |
| Tickets | n/a |
| License | MIT |
| Doc PR | n/a |
Unwrapping exceptions thrown when handling a new message after this one has been done. Messenger wraps all exceptions thrown in delayed commands into one DelayedMessageHandlingException. Docs for that are here: https://symfony.com/doc/current/messenger/dispatch_after_current_bus.html#dispatchaftercurrentbusmiddleware-middleware