parent: note exception machine's hostname.

For dumb situations where user (i.e. me) is trying to fix a problem in
the wrong place.
This commit is contained in:
David Wilson 2018-04-28 23:37:45 +01:00
parent 003f30b5a9
commit 947d35649c
1 changed files with 4 additions and 1 deletions

View File

@ -484,7 +484,10 @@ def _proxy_connect(name, method_name, kwargs, econtext):
return { return {
'id': None, 'id': None,
'name': None, 'name': None,
'msg': str(sys.exc_info()[1]), 'msg': '%s (error occurred on host %s)' % (
sys.exc_info()[1],
socket.gethostname(),
),
} }
return { return {