1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2024-09-23 00:18:53 +02:00

It's ok not being able to find a .well-known response.

This commit is contained in:
Tobias Tom 2023-07-28 16:26:40 +01:00
parent 2a100412fa
commit 7990822f72

View file

@ -506,7 +506,8 @@ async fn request_well_known(destination: &str) -> Option<String> {
.await; .await;
debug!("Got well known response"); debug!("Got well known response");
if let Err(e) = &response { if let Err(e) = &response {
error!("Well known error: {e:?}"); debug!("Well known error: {e:?}");
return None;
} }
let text = response.ok()?.text().await; let text = response.ok()?.text().await;
debug!("Got well known response text"); debug!("Got well known response text");