diff options
| author | David Lönnhager <david.l@mullvad.net> | 2025-10-11 08:32:07 +0200 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2025-10-14 10:51:42 +0200 |
| commit | c9051a6bb1682ebef6579a2e3b9a71ae99cc1653 (patch) | |
| tree | 5d69ea777436774e88dd5d8db9088a0db1d1ce2a /talpid-core/src | |
| parent | 2f3352e0fd5d186ff0cc34018463fbb6d93a987b (diff) | |
| download | mullvadvpn-c9051a6bb1682ebef6579a2e3b9a71ae99cc1653.tar.xz mullvadvpn-c9051a6bb1682ebef6579a2e3b9a71ae99cc1653.zip | |
Remove logging when split tunneling fails
This fixes a bug that was triggered by spawning processes when split
tunneling failed
Diffstat (limited to 'talpid-core/src')
| -rw-r--r-- | talpid-core/src/tunnel_state_machine/mod.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/talpid-core/src/tunnel_state_machine/mod.rs b/talpid-core/src/tunnel_state_machine/mod.rs index 16e15d08a0..1ea42e85c4 100644 --- a/talpid-core/src/tunnel_state_machine/mod.rs +++ b/talpid-core/src/tunnel_state_machine/mod.rs @@ -367,15 +367,6 @@ impl TunnelStateMachine { ) .map_err(Error::InitSplitTunneling); - if result.is_err() - && let Some(log_dir) = &args.log_dir - { - log::debug!("Logging device info"); - if let Err(err) = crate::logging::diag::windows::log_device_info(log_dir).await { - log::error!("Failed to dump device logs: {err}"); - } - } - result? }; |
