Show connection failure message in bot response
This commit is contained in:
parent
73809ba087
commit
c908f0eb50
|
@ -424,10 +424,10 @@ class User(DBUser, BaseUser):
|
|||
state_event=BridgeStateEvent.UNKNOWN_ERROR,
|
||||
error_code="kt-reconnection-error",
|
||||
)
|
||||
except Exception:
|
||||
except Exception as e:
|
||||
self.log.exception("Error connecting to KakaoTalk")
|
||||
await self.send_bridge_notice(
|
||||
"Failed to connect to KakaoTalk: unknown error (see logs for more details)",
|
||||
f"Failed to connect to KakaoTalk: {e.message}",
|
||||
edit=event_id,
|
||||
state_event=BridgeStateEvent.UNKNOWN_ERROR,
|
||||
error_code="kt-reconnection-error",
|
||||
|
|
Loading…
Reference in New Issue