提交 d12cf404 authored 作者: Frederic Bastien's avatar Frederic Bastien

more info into error msg.

上级 b0c64aae
......@@ -46,7 +46,7 @@ def raise_with_op(op, exc_info = None):
except AttributeError:
trace = ()
exc_value.__thunk_trace__ = trace
exc_value.args = exc_value.args + (op, )
exc_value.args = exc_value.args + (op, ) + ('Sequence id of Apply node='+str(op.env.toposort().index(op)),)
raise exc_type, exc_value, exc_trace
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论