From 867f1f80df94aae71fe678b167653f37b4e3c7ef Mon Sep 17 00:00:00 2001 From: NissimHadar Date: Tue, 30 Apr 2019 15:26:39 -0700 Subject: [PATCH] Improved messages. --- hifi_backtrace_post.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hifi_backtrace_post.py b/hifi_backtrace_post.py index 96dcee5c8f..b55e72fde9 100644 --- a/hifi_backtrace_post.py +++ b/hifi_backtrace_post.py @@ -7,6 +7,8 @@ import sys import urllib.request import urllib.parse +print("Running python script to upload to BackTrace") + post_headers = {} post_headers['Content-Type'] = 'application/json' post_headers['Expect'] = '' @@ -18,7 +20,7 @@ try: except: print('file ' + sys.argv[2] + ' not found') exit() - + try: post_request = urllib.request.Request(post_url, post_data, post_headers) except: @@ -31,4 +33,4 @@ except: print('urllib.request.urlopen failed') exit() -print("No errors") \ No newline at end of file +print("Upload to BackTrace completed without errors") \ No newline at end of file