mirror of
https://github.com/Retropex/raspiblitz.git
synced 2025-05-12 19:20:48 +02:00
#2247 add HTTP code as debug info
This commit is contained in:
parent
800c55b6fd
commit
8a11b46b72
@ -748,7 +748,7 @@ def subscription_detail():
|
||||
except Exception as e:
|
||||
sub['https_response'] = 0
|
||||
if sub['https_response']!=200 and len(sub['warning'])==0:
|
||||
sub['warning'] = "Not able to get HTTPS response."
|
||||
sub['warning'] = "Not able to get HTTPS response ({0}).".format(sub['https_response'])
|
||||
|
||||
print(json.dumps(sub, indent=2))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user