fix: Fix warning when crash reporter fails to get loaded

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/52851/head
Joas Schilling 2025-05-13 11:42:09 +07:00
parent 3e7db013c1
commit a316ae1590
No known key found for this signature in database
GPG Key ID: F72FA5B49FFA96B0
1 changed files with 1 additions and 0 deletions

@ -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