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
In onMessageFailed method of SendFailedMessageForRetryListener, precisely in line 89, the RedeliveryStamp constructor is only called with retry count, and message is lost.
How to reproduce
Have a message fails with an error and retry. Log the tries. Instead of getting the error message, you get null.
Possible Solution
The constructor of RedeliveryStamp should be called with the second argument, too.
Current call: new RedeliveryStamp($retryCount)
New call: new RedeliveryStamp($retryCount, $throwable->getMessage())