Fix some connection issues
- Should fix #181 - Should fix error: (101, 'Network is unreachable')
This commit is contained in:
parent
9ad3b54d30
commit
8f73d40018
1 changed files with 5 additions and 0 deletions
|
@ -470,6 +470,11 @@ class PlexAPI():
|
|||
'data': data})
|
||||
except socket.timeout:
|
||||
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:
|
||||
GDM.close()
|
||||
|
||||
|
|
Loading…
Reference in a new issue