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()
|
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(
|
||||||
|
Loading…
Reference in New Issue
Block a user