mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
StopIteration is simply propogated, so there's no reason to catch it. The catch-all exception is also caught and logged in handle(), but broken pipe errors are ignored. The redundant catch here was generating excess logging by calling handle_error for a broken pipe which fails to send the error because the client has already disconnected.