This commit is contained in:
Florian Bezannier
2025-04-09 09:04:07 +02:00
committed by Florian BEZANNIER
parent d2d105b7f0
commit 2eb356fa9d
+1 -1
View File
@@ -178,7 +178,7 @@ class RemoteClient:
self.remote_token_last_update = datetime.now()
self.mqtt_client.username_pw_set("IMA_OAUTH_ACCESS_TOKEN", self.remoteCredentials.access_token)
return True
except (RequestException, RateLimitException, KeyError):
except (RequestException, RateLimitException, KeyError, AttributeError):
logger.exception("Can't refresh remote token, please redo otp procedure")
return False