Missed two other cases of needing to print url with link

pull/880/head
Tom Parker-Shemilt 4 years ago
parent a6ffbb738b
commit 1efa0de042

@ -346,7 +346,7 @@ async fn main() -> Result<(), Error> {
if let Working::No(ref err) = link.working {
match err {
CheckerError::HttpError {status, ..} if *status == 301 || *status == 302 => {
println!("{:?}", link);
println!("{} {:?}", url, link);
failed +=1;
continue;
}
@ -361,7 +361,7 @@ async fn main() -> Result<(), Error> {
println!("Failure occurred but only {}, so we're not worrying yet: {}", chrono_humanize::HumanTime::from(-since), formatter(err, url));
}
} else {
println!("{:?}", link);
println!("{} {:?}", url, link);
failed +=1;
continue;
}

Loading…
Cancel
Save