aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2025-05-13 11:42:09 +0200
committerJoas Schilling <coding@schilljs.com>2025-05-15 08:25:01 +0200
commita316ae15901650ea7bee27a0726615492716f3d7 (patch)
treeffb3f928db729301e855f04a6ccd9f0bdaabc61c
parent3e7db013c18777ee68cf3a6135d82727d5db8dd4 (diff)
downloadnextcloud-server-a316ae15901650ea7bee27a0726615492716f3d7.tar.gz
nextcloud-server-a316ae15901650ea7bee27a0726615492716f3d7.zip
fix: Fix warning when crash reporter fails to get loaded
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--lib/private/Support/CrashReport/Registry.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Support/CrashReport/Registry.php b/lib/private/Support/CrashReport/Registry.php
index 93969a81265..77dd8163174 100644
--- a/lib/private/Support/CrashReport/Registry.php
+++ b/lib/private/Support/CrashReport/Registry.php
@@ -110,6 +110,7 @@ class Registry implements IRegistry {
\OC::$server->get(LoggerInterface::class)->critical('Could not load lazy crash reporter: ' . $e->getMessage(), [
'exception' => $e,
]);
+ return;
}
/**
* Try to register the loaded reporter. Theoretically it could be of a wrong