Mercurial > pytave
diff exceptions.h @ 231:6fffa6219b2c
Properly extract exception text from Python (fixes issue #24)
* exceptions.{h, cc}: Add a new method to properly extract string for a python
exception. Also add a new error message if we can't extract the error string.
* pycall.cc, pyeval.cc, pyexec.cc: Use the new method to extract string when an
exception occurs.
author | Abhinav Tripathi <genuinelucifer@gmail.com> |
---|---|
date | Sat, 16 Jul 2016 05:50:36 -0700 |
parents | b8560f97e9bf |
children | 09a1acb81d8b |
line wrap: on
line diff