diff options
| -rw-r--r-- | mullvad-cli/Cargo.toml | 2 | ||||
| -rw-r--r-- | mullvad-daemon/Cargo.toml | 2 | ||||
| -rw-r--r-- | mullvad-daemon/src/main.rs | 8 | ||||
| -rw-r--r-- | talpid-core/Cargo.toml | 2 | ||||
| -rw-r--r-- | talpid-ipc/Cargo.toml | 2 | ||||
| -rw-r--r-- | talpid-openvpn-plugin/Cargo.toml | 2 |
6 files changed, 9 insertions, 9 deletions
diff --git a/mullvad-cli/Cargo.toml b/mullvad-cli/Cargo.toml index e52788b47c..55ecb0394c 100644 --- a/mullvad-cli/Cargo.toml +++ b/mullvad-cli/Cargo.toml @@ -10,7 +10,7 @@ path = "src/main.rs" [dependencies] clap = "2.20" -error-chain = "0.10" +error-chain = "0.11" lazy_static = "0.2" log = "0.3" env_logger = "0.4" diff --git a/mullvad-daemon/Cargo.toml b/mullvad-daemon/Cargo.toml index 51241255c0..908a906691 100644 --- a/mullvad-daemon/Cargo.toml +++ b/mullvad-daemon/Cargo.toml @@ -12,7 +12,7 @@ path = "src/main.rs" app_dirs = "1.1" chrono = { version = "0.4", features = ["serde"] } clap = "2.25" -error-chain = "0.10" +error-chain = "0.11" fern = "0.4" futures = "0.1" serde = "1.0" diff --git a/mullvad-daemon/src/main.rs b/mullvad-daemon/src/main.rs index 04797ea8a1..0fba4e910e 100644 --- a/mullvad-daemon/src/main.rs +++ b/mullvad-daemon/src/main.rs @@ -275,7 +275,7 @@ impl Daemon { fn handle_tunnel_exited(&mut self, result: tunnel::Result<()>) -> Result<()> { if let Err(e) = result.chain_err(|| "Tunnel exited in an unexpected way") { - error!("{}", e.display()); + error!("{}", e.display_chain()); } self.remote_endpoint = None; self.tunnel_interface = None; @@ -339,7 +339,7 @@ impl Daemon { self.kill_tunnel()?; } } - Err(e) => error!("{}", e.display()), + Err(e) => error!("{}", e.display_chain()), } Ok(()) } @@ -427,7 +427,7 @@ impl Daemon { (TargetState::Secured, TunnelState::NotRunning) => { debug!("Triggering tunnel start"); if let Err(e) = self.start_tunnel().chain_err(|| "Failed to start tunnel") { - error!("{}", e.display()); + error!("{}", e.display_chain()); self.remote_endpoint = None; self.reset_security_policy()?; self.management_interface_broadcaster.notify_error(&e); @@ -531,7 +531,7 @@ impl DaemonShutdownHandle { impl Drop for Daemon { fn drop(self: &mut Daemon) { if let Err(e) = rpc_info::remove().chain_err(|| "Unable to clean up rpc address file") { - error!("{}", e.display()); + error!("{}", e.display_chain()); } } } diff --git a/talpid-core/Cargo.toml b/talpid-core/Cargo.toml index 0d987cca90..5dcb634b0d 100644 --- a/talpid-core/Cargo.toml +++ b/talpid-core/Cargo.toml @@ -6,7 +6,7 @@ description = "Core backend functionality of the Mullvad VPN client" [dependencies] duct = "0.9.1" -error-chain = "0.10" +error-chain = "0.11" jsonrpc-core = { git = "https://github.com/paritytech/jsonrpc", tag = "v7.1.0" } jsonrpc-macros = { git = "https://github.com/paritytech/jsonrpc", tag = "v7.1.0" } lazy_static = "0.2" diff --git a/talpid-ipc/Cargo.toml b/talpid-ipc/Cargo.toml index 8f354bc946..e12646cfbb 100644 --- a/talpid-ipc/Cargo.toml +++ b/talpid-ipc/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Linus Färnstrand <linus@mullvad.net>", "Erik Larkö <erik@mullvad.n description = "IPC client and server for talpid" [dependencies] -error-chain = "0.10" +error-chain = "0.11" serde = "1.0" serde_json = "1.0" log = "0.3" diff --git a/talpid-openvpn-plugin/Cargo.toml b/talpid-openvpn-plugin/Cargo.toml index e0b4ddec77..06a2686fa5 100644 --- a/talpid-openvpn-plugin/Cargo.toml +++ b/talpid-openvpn-plugin/Cargo.toml @@ -8,7 +8,7 @@ description = "OpenVPN shared library plugin for relaying OpenVPN events to talp crate-type = ["cdylib"] [dependencies] -error-chain = "0.10" +error-chain = "0.11" log = "0.3" env_logger = "0.4" |
