diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-04-01 02:24:05 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-04-01 02:24:05 +0400 |
commit | f7dc0cbaa8edc54084a81f9a56fa46e212ef8c23 (patch) | |
tree | 1d025b39a7f60cbc569d70b49ab4be5d8d4189e8 /misc | |
parent | 3716114fb4e1e04e47a41ba6c8521248e757b6c9 (diff) |
Slightly better error login in log imports
Diffstat (limited to 'misc')
-rwxr-xr-x | misc/log-analytics/import_logs.py | 2 |
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() |