Improve exchange_response formatting

This commit is contained in:
Matthias 2024-01-02 08:53:13 +01:00
parent a2160e4503
commit 10dbf47836

View File

@ -322,7 +322,7 @@ class Exchange:
def _log_exchange_response(self, endpoint: str, response, *, add_info=None) -> None:
""" Log exchange responses """
if self.log_responses:
add_info_str = "" if add_info is None else f" {add_info}:"
add_info_str = "" if add_info is None else f" {add_info}: "
logger.info(f"API {endpoint}: {add_info_str}{response}")
def ohlcv_candle_limit(