more debug info

This commit is contained in:
rootzoll 2020-08-04 17:13:52 +02:00
parent c3dce5807e
commit c6d2fd73e4

View File

@ -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)