Skip to content

Commit ae66de6

Browse files
committed
cli informative logging
1 parent 62d0d66 commit ae66de6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ pub async fn get_toolchain_download_url(client: &Client, target: String) -> Stri
6969
.json::<serde_json::Value>()
7070
.await
7171
.unwrap();
72-
let tag = json["tag_name"].as_str().unwrap();
72+
let tag = json["tag_name"].as_str().expect("Failed to download Succinct toolchain. Likely caused by GitHub rate limiting. Please try again.");
7373

7474
let url = format!(
7575
"https://github.com/succinctlabs/rust/releases/download/{}/rust-toolchain-{}.tar.gz",

0 commit comments

Comments
 (0)