Catch also Plex BadRequest
MODIFY
plextraktsync/decorators/rate_limit.py
plextraktsync/decorators/rate_limit.py
from functools import wraps
from time import sleep
+from plexapi.exceptions import BadRequest
from requests import RequestException
from trakt.errors import (LockedUserAccountException, RateLimitException,
TraktInternalException)
@@ -23,6 +24,7 @@ def wrapper(*args, **kwargs):
try:
return fn(*args, **kwargs)
except (
+ BadRequest,
RateLimitException,
RequestException,
TraktInternalException,

Catch also Plex BadRequest