From f0f08728ab888173cc5740909eee1921047bd183 Mon Sep 17 00:00:00 2001 From: "roberto@sirius" Date: Sun, 12 Sep 2010 08:57:43 +0200 Subject: [PATCH] more verbose callable loading error --- uwsgi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/uwsgi.c b/uwsgi.c index 3758abcc..9cb21c46 100644 --- a/uwsgi.c +++ b/uwsgi.c @@ -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);