mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-16 04:35:49 +00:00
📝 Change InvalidDevice Error Notice
This commit is contained in:
parent
23cebd388b
commit
b36e515076
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user