mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 15:06:06 +00:00
gr globals
This commit is contained in:
@@ -64,7 +64,9 @@ class JobTask extends AsyncTask
|
||||
$app->run(JobRunner::class, $params);
|
||||
}
|
||||
catch (Throwable $e) {
|
||||
$GLOBALS['log']->error(
|
||||
$log = $app->getContainer()->get('log');
|
||||
|
||||
$log->error(
|
||||
"JobTask: Failed to run job '{$this->jobId}'. Error: " . $e->getMessage()
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user