remove unnecessary detail from log message

This commit is contained in:
Janne Sinivirta 2018-02-24 19:28:51 +02:00
parent 646d1f7316
commit 3e89b9685d

View File

@ -126,10 +126,7 @@ def _process(interval: int, nb_assets: Optional[int] = 0) -> bool:
Trade.session.flush() Trade.session.flush()
except (requests.exceptions.RequestException, json.JSONDecodeError) as error: except (requests.exceptions.RequestException, json.JSONDecodeError) as error:
logger.warning( logger.warning('%s, retrying in 30 seconds...', error)
'%s in _process(), retrying in 30 seconds...',
error
)
time.sleep(30) time.sleep(30)
except OperationalException: except OperationalException:
rpc.send_msg('*Status:* OperationalException:\n```\n{traceback}```{hint}'.format( rpc.send_msg('*Status:* OperationalException:\n```\n{traceback}```{hint}'.format(