mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Improve error for rest client
This commit is contained in:
parent
61971f3949
commit
9d3e435162
|
@ -54,7 +54,7 @@ class FtRestClient:
|
|||
# return resp.text
|
||||
return resp.json()
|
||||
except ConnectionError:
|
||||
logger.warning("Connection error")
|
||||
logger.warning(f"Connection error - could not connect to {netloc}.")
|
||||
|
||||
def _get(self, apipath, params: ParamsT = None):
|
||||
return self._call("GET", apipath, params=params)
|
||||
|
|
Loading…
Reference in New Issue
Block a user