mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-06-14 08:08:16 +00: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:
|
except Exception as e:
|
||||||
logger.opt(colors=True, exception=e).error(
|
logger.opt(colors=True, exception=e).error(
|
||||||
f"<r><bg #f8bbd0>Rule check failed for {Matcher}.</bg #f8bbd0></r>")
|
f"<r><bg #f8bbd0>Rule check failed for {Matcher}.</bg #f8bbd0></r>")
|
||||||
|
return
|
||||||
|
|
||||||
if Matcher.temp:
|
if Matcher.temp:
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user