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

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiosmosis <benaka@piwik.pro>2015-03-10 18:00:10 +0300
committerdiosmosis <benaka@piwik.pro>2015-03-10 18:00:27 +0300
commit42da3f8768472598c33be76ddfcd72a6759d3dbc (patch)
treec452df2283e4bf0ec9ee88ead1cbfbee78cf7e1e /core/Console.php
parent1a6e64ab5fb7f2686fb97a5556baa5744f89519a (diff)
Refs #7365, add log statement to core\Console.php when plugins fail to load.
Diffstat (limited to 'core/Console.php')
-rw-r--r--core/Console.php3
1 files changed, 2 insertions, 1 deletions
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");
}