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:
authormattab <matthieu.aubry@gmail.com>2014-04-01 02:24:05 +0400
committermattab <matthieu.aubry@gmail.com>2014-04-01 02:24:05 +0400
commitf7dc0cbaa8edc54084a81f9a56fa46e212ef8c23 (patch)
tree1d025b39a7f60cbc569d70b49ab4be5d8d4189e8 /misc
parent3716114fb4e1e04e47a41ba6c8521248e757b6c9 (diff)
Slightly better error login in log imports
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 f3eb45c940..fad2d63573 100755
--- a/misc/log-analytics/import_logs.py
+++ b/misc/log-analytics/import_logs.py
@@ -629,7 +629,7 @@ class Configuration(object):
process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
[stdout, stderr] = process.communicate()
if process.returncode != 0:
- fatal_error("misc/cron/updatetoken.php failed: " + stderr)
+ fatal_error("`" + ' '.join(command) + "` failed with error: " + stderr + ".\nReponse code was: " + str(process.returncode))
filename = stdout
credentials = open(filename, 'r').readline()