mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-10 21:00:36 +02:00
#2247 add HTTP code as debug info
This commit is contained in:
parent
55fc805081
commit
d5f8a6ad5f
@ -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…
x
Reference in New Issue
Block a user