added additional uwgsi-gevent error report

This commit is contained in:
Roberto De Ioris
2012-12-15 20:34:25 +01:00
parent 5f2abf9949
commit ee6aff6665
+1
View File
@@ -253,6 +253,7 @@ ssize_t uwsgi_gevent_hook_input_read(struct wsgi_request *wsgi_req, char *tmp_bu
UWSGI_RELEASE_GIL;
ssize_t rlen = read(wsgi_req->poll.fd, tmp_buf+*tmp_pos, remains);
if (rlen <= 0) {
uwsgi_error("[uwsgi-gevent] read()");
UWSGI_GET_GIL
stop_the_watchers_and_clear
return -1;