Make it so the proxy's _make_request method's error handler catches timeouts.

This commit is contained in:
Michael Barton 2011-04-07 19:24:55 +00:00 committed by Tarmac
commit bc9ec20033
1 changed files with 1 additions and 2 deletions

View File

@ -507,8 +507,7 @@ class Controller(object):
return resp.status, resp.reason, resp.read()
elif resp.status == 507:
self.error_limit(node)
except Exception:
self.error_limit(node)
except (Exception, Timeout):
self.exception_occurred(node, self.server_type,
_('Trying to %(method)s %(path)s') %
{'method': method, 'path': path})