mirror of
https://github.com/PaiGramTeam/MibooGram.git
synced 2024-11-16 04:45:27 +00:00
🐛 Fix the exception not being thrown for all exceptions except "Too Many Requests"
This commit is contained in:
parent
33be295ac8
commit
503bd0b498
@ -197,6 +197,7 @@ class CharacterDetails(Plugin):
|
||||
except GenshinException as exc:
|
||||
if "Too Many Requests" in exc.msg:
|
||||
return await self.get_character_details_for_mysql(uid, character_id)
|
||||
raise exc
|
||||
await self.set_character_details_for_redis(uid, character_id, detail)
|
||||
return detail
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user