fix: Fix warning when crash reporter fails to get loaded

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2025-05-13 11:42:09 +02:00
parent 3e7db013c1
commit a316ae1590
No known key found for this signature in database
GPG key ID: F72FA5B49FFA96B0

View file

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