We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3273c51 + fbce2b7 commit 54cdbeaCopy full SHA for 54cdbea
lib/private/legacy/app.php
@@ -55,6 +55,7 @@
55
use OC\DB\MigrationService;
56
use OC\Installer;
57
use OC\Repair;
58
+use OC\ServerNotAvailableException;
59
use OCP\App\ManagerEvent;
60
use OCP\ILogger;
61
@@ -153,6 +154,9 @@ public static function loadApp(string $app) {
153
154
try {
155
self::requireAppFile($app);
156
} catch (Throwable $ex) {
157
+ if($ex instanceof ServerNotAvailableException) {
158
+ throw $ex;
159
+ }
160
\OC::$server->getLogger()->logException($ex);
161
if (!\OC::$server->getAppManager()->isShipped($app)) {
162
// Only disable apps which are not shipped
0 commit comments