mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-27 18:45:05 +08:00
🚑 hotfix missing return when rule check failed
This commit is contained in:
parent
78b0450d66
commit
e6a68feb0c
@ -115,6 +115,7 @@ async def _check_matcher(priority: int, Matcher: Type[Matcher], bot: "Bot",
|
||||
except Exception as e:
|
||||
logger.opt(colors=True, exception=e).error(
|
||||
f"<r><bg #f8bbd0>Rule check failed for {Matcher}.</bg #f8bbd0></r>")
|
||||
return
|
||||
|
||||
if Matcher.temp:
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user