summaryrefslogtreecommitdiffstats
path: root/lib/private/BackgroundJob/Job.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/BackgroundJob/Job.php')
-rw-r--r--lib/private/BackgroundJob/Job.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/BackgroundJob/Job.php b/lib/private/BackgroundJob/Job.php
index 8f11ebb4deb..26c69a2486c 100644
--- a/lib/private/BackgroundJob/Job.php
+++ b/lib/private/BackgroundJob/Job.php
@@ -63,7 +63,7 @@ abstract class Job implements IJob {
$logger->debug('Finished ' . get_class($this) . ' job with ID ' . $this->getId() . ' in ' . $timeTaken . ' seconds', ['app' => 'cron']);
$jobList->setExecutionTime($this, $timeTaken);
- } catch (\Exception $e) {
+ } catch (\Throwable $e) {
if ($logger) {
$logger->logException($e, [
'app' => 'core',