lua build fixes

This commit is contained in:
roberto@maverick64
2011-01-09 08:07:51 +01:00
parent b9621b620a
commit 8a8d029357
4 changed files with 12 additions and 55 deletions
+3
View File
@@ -16,6 +16,9 @@ PyObject *python_call(PyObject *callable, PyObject *args, int catch) {
pyret = PyEval_CallObject(callable, args);
if (PyErr_Occurred()) {
if (PyErr_ExceptionMatches(PyExc_MemoryError)) {
uwsgi_log("Memory Error detected !!!\n");
}
if (!catch) {
PyErr_Print();
}