diff options
author | Robin Appelman <robin@icewind.nl> | 2024-10-16 15:29:25 +0200 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2024-11-11 16:31:46 +0000 |
commit | 45d2147ac260f72104d2531bcbcefaa0b71e4218 (patch) | |
tree | 706b19c866de1bab654de4e923f1d0781a9ad7af | |
parent | 4e0eb99d1b6e8cae228b5300a489c282602cd3e3 (diff) | |
download | nextcloud-server-backport/48736/stable29.tar.gz nextcloud-server-backport/48736/stable29.zip |
fix: log a warning when we can't build a background jobbackport/48736/stable29
Signed-off-by: Robin Appelman <robin@icewind.nl>
-rw-r--r-- | lib/private/BackgroundJob/JobList.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/BackgroundJob/JobList.php b/lib/private/BackgroundJob/JobList.php index b442c2c3e93..6da46661c7d 100644 --- a/lib/private/BackgroundJob/JobList.php +++ b/lib/private/BackgroundJob/JobList.php @@ -307,6 +307,7 @@ class JobList implements IJobList { $class = $row['class']; $job = new $class(); } else { + $this->logger->warning('failed to create instance of background job: ' . $row['class'], ['app' => 'cron', 'exception' => $e]); // Remove job from disabled app or old version of an app $this->removeById($row['id']); return null; |