don't error on network failures
This commit is contained in:
parent
d538b80ad7
commit
23cb749bbb
1 changed files with 2 additions and 0 deletions
|
@ -115,6 +115,8 @@ pub fn linkcheck(
|
|||
eprintln!("Timeout for link `{}`", link.link.uri);
|
||||
} else if err.is_server_error() {
|
||||
eprintln!("Server error for link `{}`", link.link.uri);
|
||||
} else if !err.is_http() {
|
||||
eprintln!("Non-HTTP-related error for link: {} {}", link.link.uri, err);
|
||||
} else {
|
||||
is_real_error = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue