diff --git a/matrix_appservice_kakaotalk/user.py b/matrix_appservice_kakaotalk/user.py index b693246..3500aa9 100644 --- a/matrix_appservice_kakaotalk/user.py +++ b/matrix_appservice_kakaotalk/user.py @@ -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",