log if our trusted key server is broken for batch requests
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
101cb34f9a
commit
8dad4461b4
1 changed files with 6 additions and 1 deletions
|
@ -1313,7 +1313,7 @@ impl Service {
|
|||
let k = match k.deserialize() {
|
||||
Ok(key) => key,
|
||||
Err(e) => {
|
||||
warn!("Received error {} while fetching keys from trusted server {}", e, server);
|
||||
warn!("Received error {e} while fetching keys from trusted server {server}");
|
||||
warn!("{}", k.into_json());
|
||||
continue;
|
||||
},
|
||||
|
@ -1331,6 +1331,11 @@ impl Service {
|
|||
|
||||
pkm.insert(k.server_name.to_string(), result);
|
||||
}
|
||||
} else {
|
||||
warn!(
|
||||
"Failed sending batched key request to trusted key server {server} for the remote servers \
|
||||
{servers:?}"
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue