fix: wrong params

pull/7994/head
Luciano Righetti 2021-11-25 14:34:10 +01:00
parent cab5262d65
commit 08c66ed165
1 changed files with 1 additions and 6 deletions

View File

@ -281,12 +281,7 @@ class BackgroundJobsTool
try {
$procs = $this->getSupervisor()->getAllProcesses();
} catch (\Exception $exception) {
CakeLog::error(
"An error occured when getting the workers statuses via Supervisor API: {$exception->getMessage()}",
0,
$exception
);
CakeLog::error("An error occured when getting the workers statuses via Supervisor API: {$exception->getMessage()}");
return [];
}