We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6199a57 commit f161b92Copy full SHA for f161b92
1 file changed
trex/python/exception_helper.cc
@@ -85,6 +85,7 @@ void exception_table::unwrap_py_error() {
85
// This type is known and has an instance -> convert it
86
(*pos)->convert(val);
87
} else {
88
+ // Not a type I can convert -> decode it and thow the content as python_error
89
bp::object formatted_list, formatted;
90
std::string type, msg;
91
@@ -109,7 +110,8 @@ void exception_table::unwrap_py_error() {
109
110
throw python_error(type);
111
}
112
- // send a python error with <null> type; but this should never occur
113
+ // exc was null even though Python says that and error occurred !??
114
+ // send a python error with <null> type; but this should never occur
115
throw python_error("<null>");
116
117
0 commit comments