fix error message

This commit is contained in:
macintoshplus
2022-09-08 09:30:20 +02:00
parent e833f4576f
commit ca37fe5249

View File

@@ -89,7 +89,7 @@ class ExecuteServiceCommand extends Command
$runner = $this->service->getRunner($infos['service_id']);
if ($runner === null) {
throw new \Exception(sprintf('The runner for service "%1$s" is not found. Add tag "win32service.runner" with alias "%1$s" at the service runner service', $infos['service_id']));
throw new \Exception(sprintf('The runner for service "%1$s" is not found. Call method \'add\' on the RunnerManager with the runner instance and the alias "%1$s".', $infos['service_id']));
}
if ($this->eventDispatcher !== null) {