diff options
author | Andy Scherzinger <info@andy-scherzinger.de> | 2024-11-11 17:26:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-11 17:26:43 +0100 |
commit | 8fdae44816667f2818742138e186794b7fcdf86c (patch) | |
tree | 63ae27b447e08b2340ecd7076e5818cc96c33544 /lib | |
parent | 7c67df6532790fd6b06e25908f947eda2c104387 (diff) | |
parent | 0741373f94a0a302b3ddb7296295ed827cba4c02 (diff) | |
download | nextcloud-server-8fdae44816667f2818742138e186794b7fcdf86c.tar.gz nextcloud-server-8fdae44816667f2818742138e186794b7fcdf86c.zip |
Merge pull request #48736 from nextcloud/joblist-build-error-log
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 f6410269d67..55521421711 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; |