informative startup

This commit is contained in:
Nullart2
2018-08-15 10:39:32 +08:00
parent 8b9f1cadaa
commit 2bc7a668a3
5 changed files with 45 additions and 3 deletions

View File

@@ -116,8 +116,8 @@ class Exchange(object):
api.urls['api'] = api.urls['test']
logger.info("Enabled Sandbox API on %s", name)
else:
logger.warning(self, "No Sandbox URL in CCXT, exiting. "
"Please check your config.json")
logger.warning(self._api.name, "No Sandbox URL in CCXT, exiting. "
"Please check your config.json")
raise OperationalException(f'Exchange {name} does not provide a sandbox api')
def validate_pairs(self, pairs: List[str]) -> None: