diff options
author | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-03-05 01:28:45 +0300 |
---|---|---|
committer | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-03-05 01:28:58 +0300 |
commit | b8f07213450f570174becd807a6932ac69050fe4 (patch) | |
tree | 58bd7fd6d2657dd53d3142f29607e9c02ab70e4a /core | |
parent | 8c58e0c1999cab0a413681905ce03f02b21ae57f (diff) |
#5277 use the logger to log stuff, not `print`
Diffstat (limited to 'core')
-rw-r--r-- | core/CronArchive.php | 6 |
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) |