diff --git a/core/Console.php b/core/Console.php index 3eb7a5104b34928381ab3460a5a33bf3ff6ed59b..02e5f8687130bd4b54354dac1c8b85fbbd9757f1 100644 --- a/core/Console.php +++ b/core/Console.php @@ -45,6 +45,8 @@ class Console extends Application self::initPlugins(); } catch(\Exception $e) { // Piwik not installed yet, no config file? + + Log::debug("Could not initialize plugins: " . $e->getMessage() . "\n" . $e->getTraceAsString()); } $commands = $this->getAvailableCommands(); @@ -139,7 +141,6 @@ class Console extends Application try { $config->checkLocalConfigFound(); return $config; - } catch (\Exception $e) { $output->writeln($e->getMessage() . "\n"); }