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.
1 parent 50fffa8 commit 860caa0Copy full SHA for 860caa0
lib/private/Console/Application.php
@@ -121,7 +121,14 @@ public function loadCommands(
121
// load commands using info.xml
122
$info = $appManager->getAppInfo($app);
123
if (isset($info['commands'])) {
124
- $this->loadCommandsFromInfoXml($info['commands']);
+ try {
125
+ $this->loadCommandsFromInfoXml($info['commands']);
126
+ } catch (\Throwable $e) {
127
+ $output->writeln("<error>" . $e->getMessage() . "</error>");
128
+ $this->logger->error($e->getMessage(), [
129
+ 'exception' => $e,
130
+ ]);
131
+ }
132
}
133
// load from register_command.php
134
\OC_App::registerAutoloading($app, $appPath);
0 commit comments