Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2016-11-24 14:28:40 +0300
committerRobin Appelman <robin@icewind.nl>2016-11-24 17:13:29 +0300
commit65ace7c5a7d5af5c16c1e6d19084f0a4b7de3335 (patch)
tree93acb7075a7b69a849fd58c90bce6adde0912cee /console.php
parentf4cf125a4a9e43478dc4def3308cdd2f72c91321 (diff)
handle errors in apps while registering commands
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'console.php')
-rw-r--r--console.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/console.php b/console.php
index c368a28cac0..fb410ee6983 100644
--- a/console.php
+++ b/console.php
@@ -85,7 +85,7 @@ try {
echo "The process control (PCNTL) extensions are required in case you want to interrupt long running commands - see http://php.net/manual/en/book.pcntl.php" . PHP_EOL;
}
- $application = new Application(\OC::$server->getConfig(), \OC::$server->getEventDispatcher(), \OC::$server->getRequest());
+ $application = new Application(\OC::$server->getConfig(), \OC::$server->getEventDispatcher(), \OC::$server->getRequest(), \OC::$server->getLogger());
$application->loadCommands(new ArgvInput(), new ConsoleOutput());
$application->run();
} catch (Exception $ex) {