core icon indicating copy to clipboard operation
core copied to clipboard

fix(messenger): unwrap DelayedMessageHandlingException when dispatching a delayed message

Open ernestWarwas opened this issue 3 years ago • 0 comments

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

ernestWarwas avatar May 18 '22 11:05 ernestWarwas