From c83b113600737a09785e99e8692fabed74d03a1b Mon Sep 17 00:00:00 2001 From: David Wilson Date: Tue, 17 Apr 2018 12:52:42 +0100 Subject: [PATCH] service: log better warning when CallError raised. --- mitogen/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mitogen/service.py b/mitogen/service.py index 4e815bfa..d392fd1f 100644 --- a/mitogen/service.py +++ b/mitogen/service.py @@ -185,7 +185,7 @@ class Service(object): if response is not self.NO_REPLY: msg.reply(response) except mitogen.core.CallError: - LOG.warning('%r: %s', self, msg) + LOG.warning('%r: call error: %s: %s', self, msg, e) e = sys.exc_info()[1] msg.reply(e) except Exception: