Update minimal Rust version to 1.76

This commit is contained in:
Igor Katson 2024-11-16 11:13:58 +00:00
parent 835acbce6b
commit 616498f500
4 changed files with 11 additions and 9 deletions

View file

@ -291,9 +291,8 @@ pub async fn discover_services(location: Url) -> anyhow::Result<RootDesc> {
trace!("received from {location}: {response}");
let root_desc: RootDesc = quick_xml::de::from_str(&response)
.context("failed to parse response body as xml")
.map_err(|e| {
debug!("failed to parse this XML: {response}");
e
.inspect_err(|e| {
debug!("failed to parse this XML: {response}. Error: {e:#}");
})?;
Ok(root_desc)
}