output error message

This commit is contained in:
Crypto God 2019-02-15 22:50:31 +01:00
parent ef5a0b9afc
commit 3953092edd

View File

@ -229,7 +229,7 @@ def download_pair_history(datadir: Optional[Path],
misc.file_dump_json(filename, data)
return True
except BaseException:
logger.info('Failed to download the pair: "%s", Interval: %s',
pair, tick_interval)
except BaseException as e:
logger.info('Failed to download the pair: "%s", Interval: %s, Msg: %s',
pair, tick_interval, e)
return False