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
path: root/core
diff options
context:
space:
mode:
authorMatthieu Napoli <matthieu@mnapoli.fr>2015-03-05 01:28:45 +0300
committerMatthieu Napoli <matthieu@mnapoli.fr>2015-03-05 01:28:58 +0300
commitb8f07213450f570174becd807a6932ac69050fe4 (patch)
tree58bd7fd6d2657dd53d3142f29607e9c02ab70e4a /core
parent8c58e0c1999cab0a413681905ce03f02b21ae57f (diff)
#5277 use the logger to log stuff, not `print`
Diffstat (limited to 'core')
-rw-r--r--core/CronArchive.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/core/CronArchive.php b/core/CronArchive.php
index 5c1b497649..29c897c8bf 100644
--- a/core/CronArchive.php
+++ b/core/CronArchive.php
@@ -825,11 +825,7 @@ class CronArchive
public function log($m)
{
$this->output .= $m . "\n";
- try {
- Log::info($m);
- } catch(Exception $e) {
- print($m . "\n");
- }
+ Log::info($m);
}
public function logError($m)