diff --git a/Cargo.lock b/Cargo.lock index 12043175..cec0f776 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1624,7 +1624,7 @@ dependencies = [ [[package]] name = "kit" -version = "0.6.10" +version = "0.6.11" dependencies = [ "anyhow", "base64 0.21.7", diff --git a/src/boot_fake_node/mod.rs b/src/boot_fake_node/mod.rs index f09ca0b8..3a1b5e2a 100644 --- a/src/boot_fake_node/mod.rs +++ b/src/boot_fake_node/mod.rs @@ -237,6 +237,10 @@ pub async fn get_from_github(owner: &str, repo: &str, endpoint: &str) -> Result< } } } + if s.contains("No server is currently available to service your request.") { + warn!("Couldn't reach GitHub"); + return Ok(vec![]); + } } fs::create_dir_all( cache_path