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:33:16 +0000 |
commit | b195ca39205becd2a66e34a5b0cea0fa23ef5977 (patch) | |
tree | 8fdd4ad709b40324557ca863827412608314abc8 /lib/private | |
parent | 26ccbaed6148701b2721ad705c848f0184fc2019 (diff) | |
download | nextcloud-server-b195ca39205becd2a66e34a5b0cea0fa23ef5977.tar.gz nextcloud-server-b195ca39205becd2a66e34a5b0cea0fa23ef5977.zip |
fix: log a warning when we can't build a background jobbackport/48736/stable30
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private')
-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 55051636a7e..2cb44a26d5e 100644 --- a/lib/private/BackgroundJob/JobList.php +++ b/lib/private/BackgroundJob/JobList.php @@ -291,6 +291,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; |