summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2019-01-21 22:30:08 +0000
committerGerrit Code Review <review@openstack.org>2019-01-21 22:30:08 +0000
commit6fccffe49bd9265721c9d091a69f9e08e986e938 (patch)
treee6a4f490a99754636dcf00a7606b883b4a658491
parent8bdd1208e38a43b15eb1fac1e77085bd205b5705 (diff)
parent669e2d66fa720416e07c135cb3d1aebe1952332c (diff)
Merge "Improve exception handling of fingerclient"
-rw-r--r--zuul/lib/fingergw.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/zuul/lib/fingergw.py b/zuul/lib/fingergw.py
index 4f603f3..38cc5ec 100644
--- a/zuul/lib/fingergw.py
+++ b/zuul/lib/fingergw.py
@@ -81,7 +81,9 @@ class RequestHandler(streamer_utils.BaseFingerRequestHandler):
81 except BrokenPipeError: # Client disconnect 81 except BrokenPipeError: # Client disconnect
82 return 82 return
83 except Exception: 83 except Exception:
84 self.log.exception('Finger request handling exception:') 84 self.log.exception(
85 'Finger request handling exception (%s:%s):',
86 port_location['server'], port_location['port'])
85 msg = 'Internal streaming error' 87 msg = 'Internal streaming error'
86 self.request.sendall(msg.encode('utf-8')) 88 self.request.sendall(msg.encode('utf-8'))
87 return 89 return