From 3c01ab5864b5ca1f23d3aed9f3519f5a9c997d69 Mon Sep 17 00:00:00 2001 From: lixiang_yewu Date: Mon, 28 Aug 2023 06:55:07 +0000 Subject: [PATCH] update tools/ca_auth_hash_tools/calc_ca_caller_hash.py. Signed-off-by: lixiang_yewu --- tools/ca_auth_hash_tools/calc_ca_caller_hash.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 13c06c9..8e19575 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__": -- Gitee