📝 Change InvalidDevice Error Notice

This commit is contained in:
xtaodada 2023-12-17 18:38:58 +08:00
parent 23cebd388b
commit b36e515076
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -149,7 +149,7 @@ class ErrorHandler(Plugin):
logger.error("未知Cookie错误", exc_info=exc)
notice = self.ERROR_MSG_PREFIX + f"Cookie 无效 错误信息为 {exc.original} 请尝试重新绑定"
elif isinstance(exc, InvalidDevice):
notice = self.ERROR_MSG_PREFIX + "设备信息无效,请尝试重新设备绑定"
notice = self.ERROR_MSG_PREFIX + "设备信息无效,请尝试重新绑定"
elif isinstance(exc, DataNotPublic):
notice = self.ERROR_MSG_PREFIX + "查询的用户数据未公开"
elif isinstance(exc, NeedChallenge):