mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-05 11:49:59 +08:00
feat: add TEMP cache type and enhance user and bot management with improved error handling and caching mechanisms
This commit is contained in:
Vendored
+1
-1
@@ -708,7 +708,7 @@ class CacheManager:
|
||||
if self._cache_backend:
|
||||
try:
|
||||
await self._cache_backend.close() # type: ignore
|
||||
except (AttributeError, Exception) as e:
|
||||
except Exception as e:
|
||||
logger.warning(f"关闭缓存连接失败: {e}", LOG_COMMAND)
|
||||
self._cache_backend = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user