Suggestions

This commit is contained in:
crazywhalecc
2025-07-24 12:00:17 +08:00
parent abd7d3cfb4
commit 52a623f31e
2 changed files with 1 additions and 3 deletions

View File

@@ -37,7 +37,6 @@ class PackageManager
Downloader::downloadPackage($pkg_name, $config, $force);
} catch (\Throwable $e) {
if (!$allow_alt) {
logger()->error("Download package {$pkg_name} failed: " . $e->getMessage());
throw new DownloaderException("Download package {$pkg_name} failed: " . $e->getMessage());
}
// if download failed, we will try to download alternative packages