diff --git a/tools/ca_auth_hash_tools/calc_ca_caller_hash.py b/tools/ca_auth_hash_tools/calc_ca_caller_hash.py index 13c06c9be729cd61383d66a201ea76e31a033967..8e1957547471ae1d3c47b9568c93cea7af371e76 100644 --- a/tools/ca_auth_hash_tools/calc_ca_caller_hash.py +++ b/tools/ca_auth_hash_tools/calc_ca_caller_hash.py @@ -220,7 +220,10 @@ def main(): ca_caller_info_root = tree.getroot() # parser caller info file - do_calc_caller_info_hash(ca_caller_info_root) + try: + do_calc_caller_info_hash(ca_caller_info_root) + except Exception as e: + logging.error("处理时发生错误:%s", str(e)) if __name__ == "__main__":