Extended associated event not found exception message
This commit is contained in:
@@ -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))
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user