aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2025-05-13 11:42:09 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2025-05-20 20:30:15 +0000
commitdeb502ecfe5c1d54ec28ae365b63b40e5716db9a (patch)
tree81a1c2fad772399520ff37d18b2a1c70f8b0db20
parent6f36ace4fc568c8cb42eb901667d36a06f84758a (diff)
downloadnextcloud-server-backport/52851/stable31.tar.gz
nextcloud-server-backport/52851/stable31.zip
fix: Fix warning when crash reporter fails to get loadedbackport/52851/stable31
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