-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Don't break OCC if an app is breaking in it's Application class #26878
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't break OCC if an app is breaking in it's Application class #26878
Conversation
Signed-off-by: Joas Schilling <[email protected]>
|
/backport to stable21 |
|
/backport to stable20 |
kesselb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
|
/backport to stable21 |
|
/backport to stable20 |
|
The backport to stable21 failed. Please do this backport manually. |
|
The backport to stable20 failed. Please do this backport manually. |
| try { | ||
| self::loadApp($app); | ||
| } catch (\Throwable $e) { | ||
| \OC::$server->get(LoggerInterface::class)->emergency('Error during app loading: ' . $e->getMessage(), [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will then cause the app not being disabled anymore on errors, right? IMO a good thing 👍
Steps
implements IBackendProviderpart in the Application class only for enabling