mirror of
https://gitlab.com/famedly/conduit.git
synced 2024-11-16 10:01:05 +01: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
1 changed files with 2 additions and 1 deletions
|
@ -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