mirror of
https://github.com/rust-unofficial/awesome-rust
synced 2025-02-16 12:18:25 +00:00
Print url before Link
This commit is contained in:
parent
e9bf33d9e7
commit
e953dbb269
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Reference in a new issue