aboutsummaryrefslogtreecommitdiff
path: root/lib/python/python.cpp
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-11-15 19:52:08 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-11-15 19:52:08 +0000
commit8d4c6e68e456e6e0a4db27091a7f384854949162 (patch)
tree2a868d98562eb68df3884aebd86de424d26d092d /lib/python/python.cpp
parentf8a699c051ced1751b190d68d7af84bee80184a2 (diff)
downloadenigma2-8d4c6e68e456e6e0a4db27091a7f384854949162.tar.gz
enigma2-8d4c6e68e456e6e0a4db27091a7f384854949162.zip
dump function name and argument tuple
Diffstat (limited to 'lib/python/python.cpp')
-rw-r--r--lib/python/python.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/python/python.cpp b/lib/python/python.cpp
index 8e9fbd7e..84716e72 100644
--- a/lib/python/python.cpp
+++ b/lib/python/python.cpp
@@ -188,7 +188,11 @@ int ePython::call(ePyObject pFunc, ePyObject pArgs)
} else
{
PyErr_Print();
- eDebug("(PyObject_CallObject failed)");
+ ePyObject FuncStr = PyObject_Str(pFunc);
+ ePyObject ArgStr = PyObject_Str(pArgs);
+ eDebug("(PyObject_CallObject(%s,%s) failed)", PyString_AS_STRING(FuncStr), PyString_AS_STRING(ArgStr));
+ Py_DECREF(FuncStr);
+ Py_DECREF(ArgStr);
bsodFatal();
}
}