From 467bb9682d7082e15c08ea0696c10545b83ec73e Mon Sep 17 00:00:00 2001 From: Guillaume De Saint Martin Date: Mon, 30 Sep 2024 21:28:33 +0200 Subject: [PATCH] [Community] fix non auth private data fetch error --- octobot/community/authentication.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/octobot/community/authentication.py b/octobot/community/authentication.py index f041a3ff3..ab0a6426c 100644 --- a/octobot/community/authentication.py +++ b/octobot/community/authentication.py @@ -594,6 +594,9 @@ async def fetch_bot_tentacles_data_based_config( async def fetch_private_data(self, reset=False): try: + if not self.is_logged_in(): + self.logger.info(f"Can't fetch private data: no authenticated user") + return mqtt_uuid = None try: mqtt_uuid = self.get_saved_mqtt_device_uuid()