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
Hi there,
We use this package for long times. First of all thanks for this package.
Recently I noticed for an exception called UnserializeFailedException. This exception is thrown because the constucter parameter given as Model was deleted before execution. Laravel offers a property called $deleteWhenMissingModels for notification classes. In case of ModelNotFoundException Laravel deletes the job and terminates execution if this property is set to true.
Here is the unserialization stage for this package. Exception thrown here because model was deleted before. (Because laravel calls query with firstOrFail()). We can determine a property for this situtation to handle like Laravel.
The text was updated successfully, but these errors were encountered:
Accordingly, it tries to resend each time for the time specified in the snooze.sendTolerance config. And as you can guess, an error is thrown for each time and a log is written.
Hi there,
We use this package for long times. First of all thanks for this package.
Recently I noticed for an exception called
UnserializeFailedException
. This exception is thrown because the constucter parameter given as Model was deleted before execution. Laravel offers a property called$deleteWhenMissingModels
for notification classes. In case ofModelNotFoundException
Laravel deletes the job and terminates execution if this property is set to true.Here is the unserialization stage for this package. Exception thrown here because model was deleted before. (Because laravel calls query with
firstOrFail()
). We can determine a property for this situtation to handle like Laravel.The text was updated successfully, but these errors were encountered: