diff options
| -rw-r--r-- | talpid-core/src/tunnel_state_machine/connected_state.rs | 5 | ||||
| -rw-r--r-- | talpid-core/src/tunnel_state_machine/connecting_state.rs | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/talpid-core/src/tunnel_state_machine/connected_state.rs b/talpid-core/src/tunnel_state_machine/connected_state.rs index 03cbc41cf6..deb7e265a4 100644 --- a/talpid-core/src/tunnel_state_machine/connected_state.rs +++ b/talpid-core/src/tunnel_state_machine/connected_state.rs @@ -93,10 +93,7 @@ impl ConnectedState { #[cfg(windows)] shared_values.route_manager.clear_default_route_callbacks(); if let Err(error) = shared_values.route_manager.clear_routes() { - log::error!( - "Failed to clear routes: {:?}", - error.display_chain_with_msg("Failed to clear routes") - ); + log::error!("{}", error.display_chain_with_msg("Failed to clear routes")); } } diff --git a/talpid-core/src/tunnel_state_machine/connecting_state.rs b/talpid-core/src/tunnel_state_machine/connecting_state.rs index 5d70568239..b9859a12dc 100644 --- a/talpid-core/src/tunnel_state_machine/connecting_state.rs +++ b/talpid-core/src/tunnel_state_machine/connecting_state.rs @@ -173,10 +173,7 @@ impl ConnectingState { #[cfg(windows)] shared_values.route_manager.clear_default_route_callbacks(); if let Err(error) = shared_values.route_manager.clear_routes() { - log::error!( - "Failed to clear routes: {:?}", - error.display_chain_with_msg("Failed to clear routes") - ); + log::error!("{}", error.display_chain_with_msg("Failed to clear routes")); } } |
