1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2024-11-16 10:11:04 +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:
Timo Kösters 2023-07-28 15:45:59 +00:00
commit f4c1748ab1

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");