Catch TraktUnavailable in retry
from plexapi.exceptions import BadRequest
from requests import ReadTimeout, RequestException
from trakt.errors import (BadResponseException, TraktBadGateway,
- TraktInternalException)
+ TraktInternalException, TraktUnavailable)
from plextraktsync.factory import logger
@@ -30,6 +30,7 @@ def wrapper(*args, **kwargs):
ReadTimeout,
RequestException,
TraktBadGateway,
+ TraktUnavailable,
TraktInternalException,
) as e:
if count == retries:
