add response print

This commit is contained in:
wcolmenares 2019-06-12 21:02:04 -04:00
parent f84ab49365
commit 992bd6d11b

View file

@ -41,6 +41,7 @@ class ungleichDNS(object):
) )
try: try:
response = urllib.request.urlopen(req).read() response = urllib.request.urlopen(req).read()
print(response)
except urllib.error.HTTPError as e: except urllib.error.HTTPError as e:
error_message = e.read() error_message = e.read()
print(json.loads(error_message)) print(json.loads(error_message))