reqwest: Update for API changes

This commit is contained in:
Sebastian Dröge 2023-01-06 10:55:33 +02:00
parent d44a1a4245
commit be72fefb18

View file

@ -218,7 +218,8 @@ impl Harness {
panic!(
"Got error: {} ({})",
err.error(),
err.debug().unwrap_or_else(|| String::from("None"))
err.debug()
.unwrap_or_else(|| glib::GString::from("UNKNOWN"))
);
}
_ => (),
@ -262,7 +263,8 @@ impl Harness {
panic!(
"Got error: {} ({})",
err.error(),
err.debug().unwrap_or_else(|| String::from("None"))
err.debug()
.unwrap_or_else(|| glib::GString::from("UNKNOWN"))
);
}
_ => (),
@ -302,7 +304,8 @@ impl Harness {
panic!(
"Got error: {} ({})",
err.error(),
err.debug().unwrap_or_else(|| String::from("None"))
err.debug()
.unwrap_or_else(|| glib::GString::from("UNKNOWN"))
);
}
_ => (),