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:28:37 +0000 |
commit | b15ceb49e4d1d13c52d0cebd7034009f4ea5734c (patch) | |
tree | 31ae9b3bf85002e51fceece3cf4159a513691dcc | |
parent | 90e76678cd4b9963a17ee9019cca945d9c25b413 (diff) | |
download | nextcloud-server-backport/48736/stable27.tar.gz nextcloud-server-backport/48736/stable27.zip |
fix: log a warning when we can't build a background jobbackport/48736/stable27
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 2f98dd4c896..9bc58b4dc59 100644 --- a/lib/private/BackgroundJob/JobList.php +++ b/lib/private/BackgroundJob/JobList.php @@ -321,6 +321,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; |