mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-03-20 03:57:30 +08:00
fix log
This commit is contained in:
@@ -88,7 +88,8 @@ class PluginHelper(metaclass=Singleton):
|
||||
try:
|
||||
return json.loads(res.text)
|
||||
except json.JSONDecodeError:
|
||||
logger.error(f"插件包数据解析失败:{res.text}")
|
||||
if "404: Not Found" not in res.text:
|
||||
logger.warn(f"插件包数据解析失败:{res.text}")
|
||||
return None
|
||||
return {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user