diff --git a/src/resources.rs b/src/resources.rs index a0e364a4..de6fe144 100644 --- a/src/resources.rs +++ b/src/resources.rs @@ -157,7 +157,10 @@ pub fn read_url(url: &Url, access: ResourceAccess) -> Result> { Err(_) => Err(anyhow!("Cannot convert URL {} to file path", url)), }, "http" | "https" => fetch_http(url), - _ => Err(anyhow!("Cannot read from URL {}, protocol not supported")), + _ => Err(anyhow!( + "Cannot read from URL {}, protocol not supported", + url, + )), } }