修改部分错误信息描述错误的问题

This commit is contained in:
洛水居室 2022-06-10 16:51:23 +08:00
parent 6bb09bcb25
commit 1864bae484
No known key found for this signature in database
GPG Key ID: C9DE87DA724B88FC

View File

@ -74,8 +74,8 @@ def conversation_error_handler(func: Callable) -> Callable:
await send_user_notification(update, context, "Cookies已经过期请尝试重新绑定账户")
return ConversationHandler.END
except TooManyRequests as exc:
Log.warning("Cookie错误", exc)
await send_user_notification(update, context, "Cookies已经过期请尝试重新绑定账户")
Log.warning("查询次数太多(操作频繁)", exc)
await send_user_notification(update, context, "当天查询次数已经超过30次请次日再进行查询")
return ConversationHandler.END
except GenshinException as exc:
Log.warning("GenshinException", exc)