mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-19 18:00:22 +01:00
more debug info
This commit is contained in:
parent
c3dce5807e
commit
c6d2fd73e4
@ -102,6 +102,7 @@ def duckdns_update(domain, token, ip):
|
||||
response = session.get(url)
|
||||
if response.status_code != 200:
|
||||
raise BlitzError("failed HTTP code", str(response.status_code))
|
||||
print("# response-code: {0}".format(response.status_code))
|
||||
except Exception as e:
|
||||
raise BlitzError("failed HTTP request", url, e)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user