We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3336d38 + fb6b710 commit 731a088Copy full SHA for 731a088
site/src/comparison.rs
@@ -32,9 +32,13 @@ pub async fn handle_triage(
32
let start_artifact = ctxt
33
.artifact_id_for_bound(start.clone(), true)
34
.ok_or(format!("could not find start commit for bound {:?}", start))?;
35
+ // This gives a better error, but is still not great -- the common case here
36
+ // is that we've had a 422 error and as such had a fork. It's possible we
37
+ // could diagnose that and give a nicer error here telling the user which
38
+ // commit to use.
39
let mut next = next_commit(&start_artifact, &master_commits)
40
.map(|c| Bound::Commit(c.sha.clone()))
- .unwrap(); // TODO: handle no next commit
41
+ .ok_or(format!("no next commit for {:?}", start_artifact))?;
42
43
let mut report = HashMap::new();
44
let mut before = start.clone();
0 commit comments