more verbose callable loading error

This commit is contained in:
roberto@sirius
2010-09-12 08:57:43 +02:00
parent 5259c803e8
commit f0f08728ab
+1
View File
@@ -2141,6 +2141,7 @@ int init_uwsgi_app(PyObject * force_wsgi_dict, PyObject * my_callable) {
if (!wi->wsgi_callable) {
PyErr_Print();
uwsgi_log("unable to find \"%s\" callable\n", tmpstring);
if (uwsgi.single_interpreter == 0) {
Py_EndInterpreter(wi->interpreter);
PyThreadState_Swap(uwsgi.main_thread);