From 42da3f8768472598c33be76ddfcd72a6759d3dbc Mon Sep 17 00:00:00 2001 From: diosmosis <benaka@piwik.pro> Date: Tue, 10 Mar 2015 08:00:10 -0700 Subject: [PATCH] Refs #7365, add log statement to core\Console.php when plugins fail to load. --- core/Console.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/Console.php b/core/Console.php index 3eb7a5104b..02e5f86871 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"); } -- GitLab