Skip to content

Commit

Permalink
update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed Jul 24, 2021
1 parent 50342cc commit 7a33e74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Worker/Action/WorkerAbstract.php
Expand Up @@ -64,7 +64,7 @@ public function handle(RequestInterface $request, ParametersInterface $configura
$endpoint = $worker[$this->getLanguage()] ?? null;

if (empty($endpoint)) {
throw new \RuntimeException('It looks like there is no worker configured for the language: ' . $this->getLanguage() . '. More information about the worker system at: https://www.fusio-project.org/documentation/worker');
throw new \RuntimeException('It looks like there is no worker configured for the language: ' . $this->getLanguage() . '. Please add a worker to the configuration file, more information at: https://www.fusio-project.org/documentation/worker');
}

$response = $this->httpClient->post($endpoint . '/execute', [
Expand Down

0 comments on commit 7a33e74

Please sign in to comment.