add response print
This commit is contained in:
parent
f84ab49365
commit
992bd6d11b
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ class ungleichDNS(object):
|
|||
)
|
||||
try:
|
||||
response = urllib.request.urlopen(req).read()
|
||||
print(response)
|
||||
except urllib.error.HTTPError as e:
|
||||
error_message = e.read()
|
||||
print(json.loads(error_message))
|
||||
|
|
Loading…
Reference in a new issue