Skip to content

v1.2.2

@yakari007 yakari007 tagged this 11 Jun 07:34
When QUEUE_DRIVER=sync, dispatching NatsPublisherJob during pre-insert
events (saving/creating) caused SerializesModels to call findOrFail on a
model that had not yet been persisted, throwing ModelNotFoundException and
aborting the create operation. Wrapping the dispatch in try/catch ensures
a NATS failure never takes down a model write.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Assets 2
Loading