|
@@ -78,6 +78,9 @@ def parse_to_mp4(merged_bag_file_path, parse_prefix, local_parse_dir, local_dele
|
|
|
error_bag_list = parse_json_to_string_array(error_bag_json)
|
|
|
error_bag_list.append(parse_prefix)
|
|
|
list_to_json_file(error_bag_list, error_bag_json)
|
|
|
+ # 当出现异常时执行的代码
|
|
|
+ logging.exception("生成摄像头视频报错: %s", e2)
|
|
|
+
|
|
|
|
|
|
# ------- 获取合并之后的bag包,解析出csv -------
|
|
|
if __name__ == '__main__':
|