Skip force close connection error messages

This commit is contained in:
croneter 2019-04-14 16:46:44 +02:00
parent c63d9ad4d6
commit 3aa5c87ca0

View file

@ -118,6 +118,10 @@ class RequestHandler(BaseHTTPServer.BaseHTTPRequestHandler):
try: try:
BaseHTTPServer.BaseHTTPRequestHandler.handle(self) BaseHTTPServer.BaseHTTPRequestHandler.handle(self)
except Exception as error: except Exception as error:
if '10054' in error:
# Silence "[Errno 10054] An existing connection was forcibly
# closed by the remote host"
return
xbmc.log('Plex.WebService handle error: %s' % error, xbmc.LOGWARNING) xbmc.log('Plex.WebService handle error: %s' % error, xbmc.LOGWARNING)
def do_QUIT(self): def do_QUIT(self):