Commit e3135f43 authored by 李小芳's avatar 李小芳

get_highlight_v2

parent b7d859e3
......@@ -331,8 +331,9 @@ class Tractate(models.Model):
result = r['pims/catalog/usertags/ids2tag'](ids=ids).unwrap()
logging.info("get result:%s", result)
res_list = result.get("result", [])
except Exception:
return []
except :
logging.error("catch exception,err_msg:%s" % traceback.format_exc())
return res_list
def get_tag_names(self, tag_list):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment