tools: ynl-gen: re-raise the exception instead of printing
traceback.print_exception() seems tricky to call, we're missing some argument, so re-raise instead. Reported-by: NChuck Lever III <chuck.lever@oracle.com> Fixes: 3aacf828 ("tools: ynl: add an object hierarchy to represent parsed spec") Signed-off-by: NJakub Kicinski <kuba@kernel.org>
Showing
想要评论请 注册 或 登录