Compare commits

..

No commits in common. "c908f0eb50082b9a32af12802247c522c3087099" and "79a5e74fde65957811dec356c9011d818dbed1c5" have entirely different histories.

2 changed files with 3 additions and 5 deletions

View File

@ -424,10 +424,10 @@ class User(DBUser, BaseUser):
state_event=BridgeStateEvent.UNKNOWN_ERROR, state_event=BridgeStateEvent.UNKNOWN_ERROR,
error_code="kt-reconnection-error", error_code="kt-reconnection-error",
) )
except Exception as e: except Exception:
self.log.exception("Error connecting to KakaoTalk") self.log.exception("Error connecting to KakaoTalk")
await self.send_bridge_notice( await self.send_bridge_notice(
f"Failed to connect to KakaoTalk: {e.message}", "Failed to connect to KakaoTalk: unknown error (see logs for more details)",
edit=event_id, edit=event_id,
state_event=BridgeStateEvent.UNKNOWN_ERROR, state_event=BridgeStateEvent.UNKNOWN_ERROR,
error_code="kt-reconnection-error", error_code="kt-reconnection-error",

View File

@ -14,9 +14,7 @@
// You should have received a copy of the GNU Affero General Public License // You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>. // along with this program. If not, see <https://www.gnu.org/licenses/>.
import { sha512 } from "hash-wasm" import { sha512 } from "hash-wasm"
import { DefaultConfiguration } from "node-kakao"
import kakao from "node-kakao"
const { DefaultConfiguration } = kakao
DefaultConfiguration.version = "3.4.2" DefaultConfiguration.version = "3.4.2"