diff options
| author | Emīls <emils@mullvad.net> | 2022-02-17 13:05:11 +0000 |
|---|---|---|
| committer | Emīls <emils@mullvad.net> | 2022-02-17 13:05:11 +0000 |
| commit | 5f5c332b632ad25aee10da8ef420fc1aaffc5005 (patch) | |
| tree | ed017714ec2f8d4968d4de5cfa0a0a37ee7bf3be | |
| parent | 38e46256809c6420a9850a2eaa1d3520cc56aceb (diff) | |
| download | mullvadvpn-5f5c332b632ad25aee10da8ef420fc1aaffc5005.tar.xz mullvadvpn-5f5c332b632ad25aee10da8ef420fc1aaffc5005.zip | |
Log when update command can't be sent
| -rw-r--r-- | mullvad-daemon/src/relays/mod.rs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/mullvad-daemon/src/relays/mod.rs b/mullvad-daemon/src/relays/mod.rs index edf941f31d..4f96a6ddcd 100644 --- a/mullvad-daemon/src/relays/mod.rs +++ b/mullvad-daemon/src/relays/mod.rs @@ -252,7 +252,14 @@ impl RelaySelector { /// Download the newest relay list. pub async fn update(&self) { if let Some(mut updater) = self.updater.clone() { - let _ = updater.update_relay_list().await; + if let Err(err) = updater.update_relay_list().await { + log::error!( + "{}", + err.display_chain_with_msg( + "Unable to send update command to relay list updater" + ) + ); + } } } |
