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:30:19 +0000 |
commit | 758fdccf08a1f120289ce28dc93e8122bd8343ee (patch) | |
tree | 9418ca706d4f48a8dd97bd3faeff006428247afd /lib | |
parent | 73683187b2fac767dfc0737f50511d32e47f8fdc (diff) | |
download | nextcloud-server-backport/48736/stable28.tar.gz nextcloud-server-backport/48736/stable28.zip |
fix: log a warning when we can't build a background jobbackport/48736/stable28
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib')
-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 7b23f4cdb37..9e747efdb4d 100644 --- a/lib/private/BackgroundJob/JobList.php +++ b/lib/private/BackgroundJob/JobList.php @@ -328,6 +328,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; |