提交 cf771f63 authored 作者: Frederic's avatar Frederic

Fix error message to have the right thunk. fix gh-2452

上级 75cd8839
...@@ -800,7 +800,7 @@ class WrapLinker(Linker): ...@@ -800,7 +800,7 @@ class WrapLinker(Linker):
try: try:
wrapper(i, node, *thunks) wrapper(i, node, *thunks)
except Exception: except Exception:
raise_with_op(node, thunk) raise_with_op(node, *thunks)
f.thunk_groups = thunk_groups f.thunk_groups = thunk_groups
return f, inputs0, outputs0 return f, inputs0, outputs0
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论