mirror of
https://github.com/girlbossceo/conduwuit.git
synced 2024-11-30 22:43:10 +00:00
Merge branch 'bugfix/well-known-missing' into 'next'
It's ok not being able to find a .well-known response. See merge request famedly/conduit!519
This commit is contained in:
commit
f4c1748ab1
|
@ -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");
|
||||||
|
|
Loading…
Reference in a new issue