mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-20 02:09:15 +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)
|
response = session.get(url)
|
||||||
if response.status_code != 200:
|
if response.status_code != 200:
|
||||||
raise BlitzError("failed HTTP code", str(response.status_code))
|
raise BlitzError("failed HTTP code", str(response.status_code))
|
||||||
|
print("# response-code: {0}".format(response.status_code))
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
raise BlitzError("failed HTTP request", url, e)
|
raise BlitzError("failed HTTP request", url, e)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user