Fix telegram error on force_enter exception

closes #7727
This commit is contained in:
Matthias 2022-11-17 19:52:03 +01:00
parent 0a7f4fd3cc
commit 9432bcd065

View File

@ -1062,7 +1062,7 @@ class Telegram(RPCHandler):
self._rpc._rpc_force_entry(pair, price, order_side=order_side)
except RPCException as e:
logger.exception("Forcebuy error!")
self._send_msg(str(e))
self._send_msg(str(e), ParseMode.HTML)
def _force_enter_inline(self, update: Update, _: CallbackContext) -> None:
if update.callback_query: