diff options
author | Robin Appelman <robin@icewind.nl> | 2024-10-16 15:29:25 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2024-10-16 15:29:25 +0200 |
commit | 0741373f94a0a302b3ddb7296295ed827cba4c02 (patch) | |
tree | 5b80ea53b290eea2fd0f2f6bc5ee5839e83e0bf4 | |
parent | cd3dc1719b8e84526f2c99634f0dc8bf16380579 (diff) | |
download | nextcloud-server-0741373f94a0a302b3ddb7296295ed827cba4c02.tar.gz nextcloud-server-0741373f94a0a302b3ddb7296295ed827cba4c02.zip |
fix: log a warning when we can't build a background jobjoblist-build-error-log
Signed-off-by: Robin Appelman <robin@icewind.nl>
-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; |