remove unnecessary detail from log message
This commit is contained in:
parent
646d1f7316
commit
3e89b9685d
@ -126,10 +126,7 @@ def _process(interval: int, nb_assets: Optional[int] = 0) -> bool:
|
||||
Trade.session.flush()
|
||||
|
||||
except (requests.exceptions.RequestException, json.JSONDecodeError) as error:
|
||||
logger.warning(
|
||||
'%s in _process(), retrying in 30 seconds...',
|
||||
error
|
||||
)
|
||||
logger.warning('%s, retrying in 30 seconds...', error)
|
||||
time.sleep(30)
|
||||
except OperationalException:
|
||||
rpc.send_msg('*Status:* OperationalException:\n```\n{traceback}```{hint}'.format(
|
||||
|
Loading…
Reference in New Issue
Block a user