@@ -57,17 +57,17 @@ |
||
57 | 57 | |
58 | 58 | try { |
59 | 59 | $jobStartTime = time(); |
60 | - $logger->debug('Run ' . get_class($this) . ' job with ID ' . $this->getId(), ['app' => 'cron']); |
|
60 | + $logger->debug('Run '.get_class($this).' job with ID '.$this->getId(), ['app' => 'cron']); |
|
61 | 61 | $this->run($this->argument); |
62 | 62 | $timeTaken = time() - $jobStartTime; |
63 | 63 | |
64 | - $logger->debug('Finished ' . get_class($this) . ' job with ID ' . $this->getId() . ' in ' . $timeTaken . ' seconds', ['app' => 'cron']); |
|
64 | + $logger->debug('Finished '.get_class($this).' job with ID '.$this->getId().' in '.$timeTaken.' seconds', ['app' => 'cron']); |
|
65 | 65 | $jobList->setExecutionTime($this, $timeTaken); |
66 | 66 | } catch (\Throwable $e) { |
67 | 67 | if ($logger) { |
68 | 68 | $logger->logException($e, [ |
69 | 69 | 'app' => 'core', |
70 | - 'message' => 'Error while running background job (class: ' . get_class($this) . ', arguments: ' . print_r($this->argument, true) . ')' |
|
70 | + 'message' => 'Error while running background job (class: '.get_class($this).', arguments: '.print_r($this->argument, true).')' |
|
71 | 71 | ]); |
72 | 72 | } |
73 | 73 | } |