mirror of
				https://github.com/nonebot/nonebot2.git
				synced 2025-10-30 22:46:40 +00:00 
			
		
		
		
	🚑 hotfix missing return when rule check failed
This commit is contained in:
		| @@ -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: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user