summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Tom <t.tom@succont.de>2023-07-28 16:26:40 +0100
committerTobias Tom <t.tom@succont.de>2023-07-28 16:26:40 +0100
commit7990822f724c3a727e62ce8476f8da05ddfcd6fe (patch)
treef4b71d0875b2fd9a832b2753b72834700595f9f6
parent2a100412faee33df3c3b05c673f23060251340b0 (diff)
downloadconduit-7990822f724c3a727e62ce8476f8da05ddfcd6fe.zip
It's ok not being able to find a .well-known response.
-rw-r--r--src/api/server_server.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/api/server_server.rs b/src/api/server_server.rs
index 2179b16..9a1b680 100644
--- a/src/api/server_server.rs
+++ b/src/api/server_server.rs
@@ -506,7 +506,8 @@ async fn request_well_known(destination: &str) -> Option<String> {
.await;
debug!("Got well known response");
if let Err(e) = &response {
- error!("Well known error: {e:?}");
+ debug!("Well known error: {e:?}");
+ return None;
}
let text = response.ok()?.text().await;
debug!("Got well known response text");