Improve Plex GDM client connections (#48272)

pull/48276/head
jjlawren 2021-03-24 01:57:45 -05:00 committed by GitHub
parent 0d699bb768
commit 879c82ebf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -398,9 +398,10 @@ class PlexServer:
client = PlexClient(
server=self._plex_server,
baseurl=baseurl,
identifier=machine_identifier,
token=self._plex_server.createToken(),
)
except requests.exceptions.ConnectionError:
except (NotFound, requests.exceptions.ConnectionError):
_LOGGER.error(
"Direct client connection failed, will try again: %s (%s)",
name,