提交 5c173a6b authored 作者: Frederic's avatar Frederic

better error msg.

上级 fd14c13a
...@@ -1362,7 +1362,8 @@ class _CThunk(object): ...@@ -1362,7 +1362,8 @@ class _CThunk(object):
# this can be used to retrieve the location the Op was declared # this can be used to retrieve the location the Op was declared
exc_value.__thunk_trace__ = trace exc_value.__thunk_trace__ = trace
except Exception: except Exception:
print >> sys.stderr, 'ERROR retrieving error_storage', print >> sys.stderr, ('ERROR retrieving error_storage.'
' Was the error set in the c code?'),
print >> sys.stderr, self.error_storage print >> sys.stderr, self.error_storage
raise raise
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论