diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/send-error-report | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/send-error-report b/scripts/send-error-report index cd2e7f4b9d..02014ba9d8 100755 --- a/scripts/send-error-report +++ b/scripts/send-error-report | |||
@@ -140,7 +140,7 @@ def send_data(data, args): | |||
140 | try: | 140 | try: |
141 | response = urllib.request.urlopen(req) | 141 | response = urllib.request.urlopen(req) |
142 | except urllib.error.HTTPError as e: | 142 | except urllib.error.HTTPError as e: |
143 | logging.error(e.reason) | 143 | logging.error(str(e)) |
144 | sys.exit(1) | 144 | sys.exit(1) |
145 | 145 | ||
146 | print(response.read().decode('utf-8')) | 146 | print(response.read().decode('utf-8')) |