diff options
author | Robin Appelman <robin@icewind.nl> | 2016-11-24 14:28:40 +0300 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2016-11-24 17:13:29 +0300 |
commit | 65ace7c5a7d5af5c16c1e6d19084f0a4b7de3335 (patch) | |
tree | 93acb7075a7b69a849fd58c90bce6adde0912cee /console.php | |
parent | f4cf125a4a9e43478dc4def3308cdd2f72c91321 (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.php | 2 |
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) { |