You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
The RedeliveryStamp, used for handling retrying of messages, requires in the constructor the $senderClassOrAlias argument.
However, in the Worker.php class, on line 148, a new instance of the object is created, and the $senderClassOrAlias argument can be null according to the code there, so the application crashes when trying to handle a message whose handler returned an error.
How to reproduce
Publish a message to a queue. Try to handle that message but return an exception in the handler. Notice the exception.
Possible Solution
Allow $senderClassOrAlias argument to be null.