Print url before Link

This commit is contained in:
Tom Parker-Shemilt 2020-04-21 11:04:59 +01:00
parent e9bf33d9e7
commit e953dbb269

View file

@ -355,7 +355,7 @@ async fn main() -> Result<(), Error> {
if let Some(last_working) = link.last_working {
let since = Local::now() - last_working;
if since > max_allowed_failed {
println!("{:?}", link);
println!("{} {:?}", url, link);
failed +=1;
} else {
println!("Failure occurred but only {}, so we're not worrying yet: {}", chrono_humanize::HumanTime::from(-since), formatter(err, url));