fix debug build and better error reporting

This commit is contained in:
roberto@mrspurr
2011-01-07 22:38:51 +01:00
parent ac05ad1ef5
commit f8464ac733
3 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -178,7 +178,7 @@ PyObject *uwsgi_pyimport_by_filename(char *name, char *filename) {
pyfile = fopen(filename, "r");
if (!pyfile) {
uwsgi_error("fopen()");
uwsgi_log("failed to open python file %s\n", filename);
exit(1);
}