display bsod on exception
authorFelix Domke <tmbinc@elitedvb.net>
Mon, 3 Apr 2006 21:02:31 +0000 (21:02 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Mon, 3 Apr 2006 21:02:31 +0000 (21:02 +0000)
lib/python/python.cpp

index 4ca77ab..b5ae486 100644 (file)
@@ -6,6 +6,7 @@
 #include <Python.h>
 
 extern "C" void init_enigma();
+extern void bsodFatal();
 
 DEFINE_REF(TestObj);
 
@@ -129,6 +130,7 @@ int ePython::call(PyObject *pFunc, PyObject *pArgs)
                } else
                {
                        PyErr_Print();
+                       bsodFatal();
                }
        }
        return res;