diff options
Diffstat (limited to 'src/client/connector/httpconnector.rs')
| -rw-r--r-- | src/client/connector/httpconnector.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/connector/httpconnector.rs b/src/client/connector/httpconnector.rs index d668ce5..67741e9 100644 --- a/src/client/connector/httpconnector.rs +++ b/src/client/connector/httpconnector.rs @@ -37,7 +37,7 @@ pub struct HTTPConnector { impl HTTPConnector { pub fn new(pull_url: &str, ntfy_url: &str, ip_getter_url: &str) -> result::Result<Self, HTTPConnectorError> { Ok(Self { - network_enforcer: Executor::new(NETWORK_T.as_ref(), ["true"], ()).unwrap(), // .unwrap() should never panic + network_enforcer: Executor::new(NETWORK_T.as_ref(), ["true"], ()), // .unwrap() should never panic prev: String::new(), pull_url: Url::parse(pull_url)?, ntfy_url: Url::parse(ntfy_url)?, |
