service: log better warning when CallError raised.

This commit is contained in:
David Wilson 2018-04-17 12:52:42 +01:00
parent ed915b6e63
commit c83b113600
1 changed files with 1 additions and 1 deletions

View File

@ -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: