Merge "Improve exception handling of fingerclient"

This commit is contained in:
Zuul 2019-01-21 22:30:08 +00:00 committed by Gerrit Code Review
commit 6fccffe49b
1 changed files with 3 additions and 1 deletions

View File

@ -81,7 +81,9 @@ class RequestHandler(streamer_utils.BaseFingerRequestHandler):
except BrokenPipeError: # Client disconnect
return
except Exception:
self.log.exception('Finger request handling exception:')
self.log.exception(
'Finger request handling exception (%s:%s):',
port_location['server'], port_location['port'])
msg = 'Internal streaming error'
self.request.sendall(msg.encode('utf-8'))
return