From eb576a334373f2dcaf3379681edc615876da88b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 28 May 2026 18:50:10 +0300 Subject: [PATCH] Add message to OAuthRefreshException --- trakt/errors.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/trakt/errors.py b/trakt/errors.py index 190271c..a357847 100644 --- a/trakt/errors.py +++ b/trakt/errors.py @@ -69,6 +69,8 @@ class OAuthException(TraktException): class OAuthRefreshException(OAuthException): + message = 'Unauthorized - OAuth token refresh failed' + def __init__(self, response=None): super().__init__(response) self.data = self.response.json()