mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Improve exchange_response formatting
This commit is contained in:
parent
a2160e4503
commit
10dbf47836
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue
Block a user