mirror of
https://github.com/NLnetLabs/routinator.git
synced 2024-05-19 06:50:04 +00:00
Show the status code instead of -1 in RRDP status metrics.
This commit is contained in:
@ -7,6 +7,7 @@ Bug Fixes
|
||||
* Apply unsafe filter (if requested) also on subsequent validation runs in
|
||||
server mode. ([#407])
|
||||
* Update all metrics on all validation runs. ([#407])
|
||||
* Show the status code instead of -1 in RRDP status metrics. ([#408])
|
||||
|
||||
Other Changes
|
||||
|
||||
@ -15,6 +16,7 @@ Other Changes
|
||||
|
||||
[#406]: https://github.com/NLnetLabs/routinator/pull/406
|
||||
[#407]: https://github.com/NLnetLabs/routinator/pull/407
|
||||
[#408]: https://github.com/NLnetLabs/routinator/pull/408
|
||||
|
||||
|
||||
## 0.8.0-rc1
|
||||
|
@ -244,9 +244,7 @@ impl HttpClient {
|
||||
&self,
|
||||
uri: &uri::Https
|
||||
) -> Result<Response, Error> {
|
||||
self.client().get(uri.as_str()).send().and_then(|res| {
|
||||
res.error_for_status()
|
||||
}).map_err(|err| {
|
||||
self.client().get(uri.as_str()).send().map_err(|err| {
|
||||
warn!("RRDP {}: {}", uri, err);
|
||||
Error
|
||||
})
|
||||
|
Reference in New Issue
Block a user