logger.error("Status code is %s, detail is %s.", ret[2], ret[1])
raise CatalogException("Failed to get asset(%s, %s) from sdc." % (asset_type, uuid))
asset = json.JSONDecoder().decode(ret[1])
logger.error("Status code is %s, detail is %s.", ret[2], ret[1])
raise CatalogException("Failed to get asset(%s, %s) from sdc." % (asset_type, uuid))
asset = json.JSONDecoder().decode(ret[1])