Kaydet (Commit) 6c20df51 authored tarafından Bahadır Kandemir's avatar Bahadır Kandemir

Get exception name via getattrsring

üst c5d14fe1
......@@ -100,7 +100,7 @@ log_exception()
return;
}
eStr = PyString_AsString(PyObject_Str(pType));
eStr = PyString_AsString(PyObject_GetAttrString(pType, "__name__"));
if (pValue) {
PyObject *tmp;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment