diff --git a/src/proxy.rs b/src/proxy.rs index 93ad00c39..6e1bfcc73 100644 --- a/src/proxy.rs +++ b/src/proxy.rs @@ -943,7 +943,9 @@ fn parse_setting_from_dynamic_store( fn get_from_platform_impl() -> Result, Box> { let store = SCDynamicStoreBuilder::new("reqwest").build(); - let Some(proxies_map) = store.get_proxies() else { + let proxies_map = if let Some(proxies_map) = store.get_proxies() { + proxies_map + } else { return Ok(None); };