50
51
except urllib.error.HTTPError as e:
51
52
# Got an HTTP error from the image mapper:
52
53
return process_image_mapper_result(e.code, e.file.read())
54
55
# Couldn't complete tcp handshake with image mapper:
56
57
"Unable to contact adt-image-mapper service: {}".format(str(e))