mirror of
https://github.com/PaiGramTeam/PamGram.git
synced 2024-11-16 03:55:26 +00:00
📝 Change InvalidDevice Error Notice
This commit is contained in:
parent
33e3f6c6ec
commit
0eaa15cf47
@ -146,7 +146,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):
|
||||
|
Loading…
Reference in New Issue
Block a user