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:19 +0000
commite269df3bc8449512c3c164dde84f5c4ebeef7de5 (patch)
tree9cf2dfb664059b8fcb506f994e5b120fbf04db4b
parent00a940bd744eac36dc23776bc8eade25aafcd547 (diff)
downloadnextcloud-server-backport/52851/stable30.tar.gz
nextcloud-server-backport/52851/stable30.zip
fix: Fix warning when crash reporter fails to get loadedbackport/52851/stable30
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