mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
Improve exchange_response formatting
This commit is contained in:
@@ -322,7 +322,7 @@ class Exchange:
|
|||||||
def _log_exchange_response(self, endpoint: str, response, *, add_info=None) -> None:
|
def _log_exchange_response(self, endpoint: str, response, *, add_info=None) -> None:
|
||||||
""" Log exchange responses """
|
""" Log exchange responses """
|
||||||
if self.log_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}")
|
logger.info(f"API {endpoint}: {add_info_str}{response}")
|
||||||
|
|
||||||
def ohlcv_candle_limit(
|
def ohlcv_candle_limit(
|
||||||
|
|||||||
Reference in New Issue
Block a user