diff options
Diffstat (limited to 'src/cert_store.rs')
-rw-r--r-- | src/cert_store.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cert_store.rs b/src/cert_store.rs index 6cc3ea9..e2ad62b 100644 --- a/src/cert_store.rs +++ b/src/cert_store.rs @@ -39,7 +39,7 @@ impl CertStore { }) } - pub async fn watch_proxy_config(self: Arc<Self>) { + pub async fn watch_proxy_config(self: Arc<Self>) -> Result<()> { let mut rx_proxy_config = self.rx_proxy_config.clone(); while rx_proxy_config.changed().await.is_ok() { @@ -59,6 +59,8 @@ impl CertStore { } } } + + bail!("rx_proxy_config closed"); } pub fn get_cert_for_https(self: &Arc<Self>, domain: &str) -> Result<Arc<Cert>> { |