We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 968b2a3 commit b9f91e5Copy full SHA for b9f91e5
src/tools/rustbook/src/main.rs
@@ -108,7 +108,9 @@ pub fn linkcheck(
108
is_real_error = true;
109
}
110
Reason::UnsuccessfulServerResponse(status) => {
111
- if status.is_client_error() {
+ if status.as_u16() == 429 {
112
+ eprintln!("Received 429 (TOO_MANY_REQUESTS) for link `{}`", link.link.uri);
113
+ } else if status.is_client_error() {
114
115
} else {
116
eprintln!("Unsuccessful server response for link `{}`", link.link.uri);
0 commit comments