Extended associated event not found exception message

This commit is contained in:
2026-06-23 13:16:57 +04:00
parent 3147dde1c6
commit 505990e247

View File

@@ -45,6 +45,16 @@ class EventMapper implements EventMapperInterface
} }
} }
throw new AssociatedEventNotFound(json_encode($payload)); $error = <<<ERR
Not found event.
Queue: %s
Routing key: %s
Payload: %s
ERR;
throw new AssociatedEventNotFound(
sprintf($error, $queueName, $routingKey, json_encode($payload))
);
} }
} }