From e269df3bc8449512c3c164dde84f5c4ebeef7de5 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 13 May 2025 11:42:09 +0200 Subject: [PATCH] fix: Fix warning when crash reporter fails to get loaded Signed-off-by: Joas Schilling --- lib/private/Support/CrashReport/Registry.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/private/Support/CrashReport/Registry.php b/lib/private/Support/CrashReport/Registry.php index 93969a812652c..77dd816317419 100644 --- a/lib/private/Support/CrashReport/Registry.php +++ b/lib/private/Support/CrashReport/Registry.php @@ -110,6 +110,7 @@ private function loadLazyProviders(): void { \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