Fix some connection issues

- Should fix #181
- Should fix error: (101, 'Network is unreachable')
This commit is contained in:
tomkat83 2017-01-20 14:16:06 +01:00
parent 9ad3b54d30
commit 8f73d40018

View file

@ -470,6 +470,11 @@ class PlexAPI():
'data': data}) 'data': data})
except socket.timeout: except socket.timeout:
break break
except Exception as e:
# Probably error: (101, 'Network is unreachable')
log.error(e)
import traceback
log.error("Traceback:\n%s" % traceback.format_exc())
finally: finally:
GDM.close() GDM.close()