Nattiden il y a 2 ans
Parent
commit
e11b3d1cd6
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      Modules/MinecraftVersions.py

+ 2 - 1
Modules/MinecraftVersions.py

@@ -16,7 +16,8 @@ def fetch_manifset():
         response = requests.get(LAUNCHER_MANIFSET_URL,timeout=10000)
         response = requests.get(LAUNCHER_MANIFSET_URL,timeout=10000)
         return json.loads(response.content)
         return json.loads(response.content)
     except Exception as e:
     except Exception as e:
-        logger.warning(f'获取版本列表失败:{e.with_traceback()}')
+        logger.warning("加载 MC 版本列表失败")
+        logger.exception(e)
         return {}
         return {}
 
 
 def get_manifset():
 def get_manifset():