aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorAndy Scherzinger <info@andy-scherzinger.de>2024-11-12 11:41:40 +0100
committerGitHub <noreply@github.com>2024-11-12 11:41:40 +0100
commitec281fb0af892610b46726eb13ccc55151e3ee48 (patch)
tree53a792d7b79ec7e19f54bb43ccbddec4731eb718 /lib/private
parentceb933c3bd6a98fa4d994621890f471cf74b632d (diff)
parent758fdccf08a1f120289ce28dc93e8122bd8343ee (diff)
downloadnextcloud-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.php1
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;