mirror of
https://github.com/jbcr/Win32ServiceBundle.git
synced 2026-03-24 00:42:20 +01:00
fix error message
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user