Skip to content
Unverified Commit 5f4884f2 authored by Christoph Wurst's avatar Christoph Wurst
Browse files

Harden bootstrap context registrations when apps are missing



It's not expected that an app would be unavailable when the app
container is created but when services are registered, but Sentry tells
me on Nextcloud 21 there is an edge case where this can happen.
Therefore this patch hardens the code a bit to log a meaningful error
message and skipping the next code instead of logging a php notice for
the undefined index and an exception for calling a method on null.

Signed-off-by: default avatarChristoph Wurst <christoph@winzerhof-wurst.at>
parent bdfd2d92
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment