[106] Merge remote-tracking branch 'chazlarson/Call-out-timeout-error' into nightly

pull/1595/head
meisnate12 1 year ago
commit 1f28e26d0a

@ -464,6 +464,8 @@ class Plex(Library):
except Unauthorized:
logger.info(f"Plex Error: Plex connection attempt returned 'Unauthorized'")
raise Failed("Plex Error: Plex token is invalid")
except requests.exceptions.ConnectTimeout:
raise Failed(f"Plex Error: Plex did not respond within the {self.timeout}-second timeout.")
except ValueError as e:
logger.info(f"Plex Error: Plex connection attempt returned 'ValueError'")
logger.stacktrace()

Loading…
Cancel
Save