Spiegel von
https://github.com/dani-garcia/vaultwarden.git
synchronisiert 2024-11-22 05:10:29 +01:00
Removed unwrap and added ?
Dieser Commit ist enthalten in:
Ursprung
da068a43c1
Commit
4de16b2d17
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
|
@ -283,7 +283,7 @@ fn fix_href(href: &str, url: &str) -> String {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn download_icon(domain: &str) -> Result<Vec<u8>, Error> {
|
fn download_icon(domain: &str) -> Result<Vec<u8>, Error> {
|
||||||
let url = get_icon_url(&domain).unwrap();
|
let url = get_icon_url(&domain)?;
|
||||||
|
|
||||||
info!("Downloading icon for {} via {}...",domain, url);
|
info!("Downloading icon for {} via {}...",domain, url);
|
||||||
let mut res = reqwest::get(&url)?;
|
let mut res = reqwest::get(&url)?;
|
||||||
|
|
Laden …
In neuem Issue referenzieren