mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2025-03-03 06:47:30 +00:00
[106] Merge remote-tracking branch 'chazlarson/Call-out-timeout-error' into nightly
This commit is contained in:
commit
1f28e26d0a
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue