Skip force close connection error messages
This commit is contained in:
parent
c63d9ad4d6
commit
3aa5c87ca0
1 changed files with 4 additions and 0 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue