未验证 提交 25c17633 编写于 作者: O openharmony_ci 提交者: Gitee

!600 修复json格式错误时,hb异常处理路径不正确的问题

Merge pull request !600 from zhengweiwei/master
......@@ -94,7 +94,7 @@ def main():
hb_error(exception.args[0])
status = -1
except Exception as exception:
if not hasattr(args, 'command'):
if not hasattr(args[0], 'command'):
parser.print_help()
else:
hb_error(traceback.format_exc())
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册