diff options
author | Andy Scherzinger <info@andy-scherzinger.de> | 2024-11-12 11:43:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-12 11:43:00 +0100 |
commit | 357524dfd2a63f2dcadd7831d7f8ff20139a27d0 (patch) | |
tree | 10bbeeee7dfb2cadf3e3b4f69d4ad700d5129965 /lib | |
parent | 049ed9fe0f589ea44ff7d56aa10b66cbca72cee8 (diff) | |
parent | b195ca39205becd2a66e34a5b0cea0fa23ef5977 (diff) | |
download | nextcloud-server-357524dfd2a63f2dcadd7831d7f8ff20139a27d0.tar.gz nextcloud-server-357524dfd2a63f2dcadd7831d7f8ff20139a27d0.zip |
Merge pull request #49207 from nextcloud/backport/48736/stable30
[stable30] fix: log a warning when we can't build a background job
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 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; |