Compare commits
2 Commits
79a5e74fde
...
c908f0eb50
Author | SHA1 | Date | |
---|---|---|---|
c908f0eb50 | |||
73809ba087 |
@ -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:
|
except Exception as e:
|
||||||
self.log.exception("Error connecting to KakaoTalk")
|
self.log.exception("Error connecting to KakaoTalk")
|
||||||
await self.send_bridge_notice(
|
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,
|
edit=event_id,
|
||||||
state_event=BridgeStateEvent.UNKNOWN_ERROR,
|
state_event=BridgeStateEvent.UNKNOWN_ERROR,
|
||||||
error_code="kt-reconnection-error",
|
error_code="kt-reconnection-error",
|
||||||
|
@ -14,7 +14,9 @@
|
|||||||
// 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"
|
||||||
|
Loading…
Reference in New Issue
Block a user