added exceptions counter

This commit is contained in:
roberto@sirius
2011-01-14 14:49:45 +01:00
parent 170c66b000
commit 520ff8465b
6 changed files with 14 additions and 3 deletions
-3
View File
@@ -378,12 +378,9 @@ PyObject *uwsgi_uwsgi_loader(void *arg1) {
if (applications && PyDict_Check(applications)) return applications;
uwsgi_log("QUICK CALLABLE = %s\n", quick_callable);
applications = PyDict_GetItemString(wsgi_dict, "applications");
if (applications && PyDict_Check(applications)) return applications;
uwsgi_log("QUICK CALLABLE = %s\n", quick_callable);
// quick callable -> thanks gunicorn for the idea
// we have extended the concept a bit...
if (quick_callable[strlen(quick_callable) -2 ] == '(' && quick_callable[strlen(quick_callable) -1] ==')') {