summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Shrewsbury <shrewsbury.dave@gmail.com>2018-01-05 11:11:04 -0500
committerDavid Shrewsbury <shrewsbury.dave@gmail.com>2018-01-05 11:12:38 -0500
commit198d9e471b163a667e0f28adbe0219b82915ee2d (patch)
treefd9a5e43f64e0326dd7b887b2a97e5b4fad14e3b
parent2af7139e3fafc9f6d023400465e9d30eb2fde4a2 (diff)
downloadzuul-198d9e471b163a667e0f28adbe0219b82915ee2d.tar.gz
Don't treat finger client disconnect as exception
The fingergw currently logs client disconnects as exceptions. This makes the log unnecessarily noisy. Just ignore them. Change-Id: Ic28acabcb47359d4b7077a1eecddefe0f7094212
-rw-r--r--zuul/lib/fingergw.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/zuul/lib/fingergw.py b/zuul/lib/fingergw.py
index 746f5522a..b56fe0461 100644
--- a/zuul/lib/fingergw.py
+++ b/zuul/lib/fingergw.py
@@ -77,6 +77,8 @@ class RequestHandler(streamer_utils.BaseFingerRequestHandler):
port_location['port'],
build_uuid,
)
+ except BrokenPipeError: # Client disconnect
+ return
except Exception:
self.log.exception('Finger request handling exception:')
msg = 'Internal streaming error'