From 746cd9feb1dcf9245b6c9d6549b5cf86627bc24f Mon Sep 17 00:00:00 2001 From: Unrud Date: Fri, 23 Jun 2017 21:55:42 +0200 Subject: [PATCH] Include exception in timeout log message --- radicale/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicale/__init__.py b/radicale/__init__.py index bcb09fc..15b2cc8 100644 --- a/radicale/__init__.py +++ b/radicale/__init__.py @@ -129,7 +129,7 @@ class HTTPServer(wsgiref.simple_server.WSGIServer): def handle_error(self, request, client_address): if issubclass(sys.exc_info()[0], socket.timeout): - self.logger.info("connection timeout") + self.logger.info("client timed out", exc_info=True) else: self.logger.error("An exception occurred during request: %s", sys.exc_info()[1], exc_info=True)