File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
octobot_trading/exchanges/connectors/ccxt Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -269,9 +269,11 @@ async def _ensure_auth(self):
269269 reload = not self .exchange_manager .use_cached_markets ,
270270 market_filter = self .exchange_manager .market_filter ,
271271 )
272- except Exception as e :
272+ except Exception as err :
273+ if self .force_authentication :
274+ raise
273275 # Is probably handled in exchange tentacles, important thing here is that authentication worked
274- self .logger .debug (f"Error when checking exchange connection: { e } . This should not be an issue." )
276+ self .logger .info (f"Error when checking exchange connection: { err } . This should not be an issue." )
275277
276278 def _create_client (self , force_unauth = False ):
277279 self .client , self .is_authenticated = self ._client_factory (force_unauth )
You can’t perform that action at this time.
0 commit comments