diff options
author | Andy Scherzinger <info@andy-scherzinger.de> | 2024-11-12 11:41:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-12 11:41:40 +0100 |
commit | ec281fb0af892610b46726eb13ccc55151e3ee48 (patch) | |
tree | 53a792d7b79ec7e19f54bb43ccbddec4731eb718 /lib/private | |
parent | ceb933c3bd6a98fa4d994621890f471cf74b632d (diff) | |
parent | 758fdccf08a1f120289ce28dc93e8122bd8343ee (diff) | |
download | nextcloud-server-ec281fb0af892610b46726eb13ccc55151e3ee48.tar.gz nextcloud-server-ec281fb0af892610b46726eb13ccc55151e3ee48.zip |
Merge pull request #49205 from nextcloud/backport/48736/stable28
[stable28] fix: log a warning when we can't build a background job
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 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; |