diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-11-07 08:57:58 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-11-07 08:57:58 +0300 |
commit | 4a52a7f360eba70f66a1d6880aba74dc552a4a0d (patch) | |
tree | ea76cdfb1eb0ce70b193f477bb76be2d1285c613 /core/Plugin/Visualization.php | |
parent | c90cb332989fc60f37be6f85db15cf2d13d413f7 (diff) |
refs #6612 Set default logger level to ERROR so that only real errors break the archiver (and not simple warnings)
Diffstat (limited to 'core/Plugin/Visualization.php')
-rw-r--r-- | core/Plugin/Visualization.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Plugin/Visualization.php b/core/Plugin/Visualization.php index e7e79c62e2..938bcb7a4d 100644 --- a/core/Plugin/Visualization.php +++ b/core/Plugin/Visualization.php @@ -177,7 +177,7 @@ class Visualization extends ViewDataTable } catch (NoAccessException $e) { throw $e; } catch (\Exception $e) { - Log::warning("Failed to get data from API: " . $e->getMessage() . "\n" . $e->getTraceAsString()); + Log::error("Failed to get data from API: " . $e->getMessage() . "\n" . $e->getTraceAsString()); $message = $e->getMessage(); if (\Piwik_ShouldPrintBackTraceWithMessage()) { |