@@ -73,17 +73,17 @@ |
||
73 | 73 | |
74 | 74 | try { |
75 | 75 | $jobStartTime = $this->time->getTime(); |
76 | - $logger->debug('Run ' . get_class($this) . ' job with ID ' . $this->getId(), ['app' => 'cron']); |
|
76 | + $logger->debug('Run '.get_class($this).' job with ID '.$this->getId(), ['app' => 'cron']); |
|
77 | 77 | $this->run($this->argument); |
78 | 78 | $timeTaken = $this->time->getTime() - $jobStartTime; |
79 | 79 | |
80 | - $logger->debug('Finished ' . get_class($this) . ' job with ID ' . $this->getId() . ' in ' . $timeTaken . ' seconds', ['app' => 'cron']); |
|
80 | + $logger->debug('Finished '.get_class($this).' job with ID '.$this->getId().' in '.$timeTaken.' seconds', ['app' => 'cron']); |
|
81 | 81 | $jobList->setExecutionTime($this, $timeTaken); |
82 | 82 | } catch (\Exception $e) { |
83 | 83 | if ($logger) { |
84 | 84 | $logger->logException($e, [ |
85 | 85 | 'app' => 'core', |
86 | - 'message' => 'Error while running background job (class: ' . get_class($this) . ', arguments: ' . print_r($this->argument, true) . ')' |
|
86 | + 'message' => 'Error while running background job (class: '.get_class($this).', arguments: '.print_r($this->argument, true).')' |
|
87 | 87 | ]); |
88 | 88 | } |
89 | 89 | } |