提交 de438550 编写于 作者: S Simon Glass

binman: Output errors to stderr

At present binman outputs errors to stdout which means that fails are
effectively silent when printed by buildman, for example. Fix this by
outputing errors to stderr.
Signed-off-by: NSimon Glass <sjg@chromium.org>
Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
上级 2a9c1452
......@@ -123,7 +123,7 @@ def RunBinman(args):
try:
ret_code = control.Binman(args)
except Exception as e:
print('binman: %s' % e)
print('binman: %s' % e, file=sys.stderr)
if args.debug:
print()
traceback.print_exc()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册