data = fetch_wellknown_nodeinfo(domain)
logger.debug("data[%s](%d)='%s'", type(data), len(data), data)
- if "error_message" not in data and "json" in data and len(data["json"]) > 0:
+ if "exception" in data:
+ logger.warning("Exception returned: '%s', raising again ...", type(data["exception"]))
+ raise data["exception"]
+ elif "error_message" not in data and "json" in data and len(data["json"]) > 0:
logger.debug("Invoking instances.set_last_nodeinfo(%s) ...", domain)
instances.set_last_nodeinfo(domain)