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/misc
diff options
context:
space:
mode:
authorBenaka Moorthi <benaka.moorthi@gmail.com>2013-09-14 20:17:56 +0400
committerBenaka Moorthi <benaka.moorthi@gmail.com>2013-09-14 20:17:56 +0400
commitc1aad8d906d38c0662b264d38aef549f6fea0e62 (patch)
tree346bff3fe03ee0367e7fb7cf729b020939904879 /misc
parent94614717692923de69058f174530f0aa5afd3a65 (diff)
Revert debugging change.
Diffstat (limited to 'misc')
-rwxr-xr-xmisc/log-analytics/import_logs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/log-analytics/import_logs.py b/misc/log-analytics/import_logs.py
index 9180e7f565..5c1ed51c2a 100755
--- a/misc/log-analytics/import_logs.py
+++ b/misc/log-analytics/import_logs.py
@@ -809,7 +809,7 @@ class Piwik(object):
return json.loads(res)
except ValueError:
truncate_after = 300
- raise urllib2.URLError('Piwik returned an invalid response: ' + res)
+ raise urllib2.URLError('Piwik returned an invalid response: ' + res[:truncate_after])
@staticmethod