lib/private/BackgroundJob/Job.php 1 location
|
@@ 67-72 (lines=6) @@
|
| 64 |
|
$logger->debug('Finished ' . get_class($this) . ' job with ID ' . $this->getId() . ' in ' . $timeTaken . ' seconds', ['app' => 'cron']); |
| 65 |
|
$jobList->setExecutionTime($this, $timeTaken); |
| 66 |
|
} catch (\Exception $e) { |
| 67 |
|
if ($logger) { |
| 68 |
|
$logger->logException($e, [ |
| 69 |
|
'app' => 'core', |
| 70 |
|
'message' => 'Error while running background job (class: ' . get_class($this) . ', arguments: ' . print_r($this->argument, true) . ')' |
| 71 |
|
]); |
| 72 |
|
} |
| 73 |
|
} |
| 74 |
|
} |
| 75 |
|
|
lib/public/BackgroundJob/Job.php 1 location
|
@@ 83-88 (lines=6) @@
|
| 80 |
|
$logger->debug('Finished ' . get_class($this) . ' job with ID ' . $this->getId() . ' in ' . $timeTaken . ' seconds', ['app' => 'cron']); |
| 81 |
|
$jobList->setExecutionTime($this, $timeTaken); |
| 82 |
|
} catch (\Exception $e) { |
| 83 |
|
if ($logger) { |
| 84 |
|
$logger->logException($e, [ |
| 85 |
|
'app' => 'core', |
| 86 |
|
'message' => 'Error while running background job (class: ' . get_class($this) . ', arguments: ' . print_r($this->argument, true) . ')' |
| 87 |
|
]); |
| 88 |
|
} |
| 89 |
|
} |
| 90 |
|
} |
| 91 |
|
|