diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2018-08-15 14:36:48 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2018-08-15 14:36:48 +0200 |
commit | cd1ca0a6b418c12156bd73589a00805f51e80959 (patch) | |
tree | 5b2a6947b4039747ddcc6a943008b33f9168b908 /tool | |
parent | b5f7cc0b70f15d4d510109691577bc1ea22a03ab (diff) |
Bump version of failure.
- Also, avoid deprecated method in sq.
Diffstat (limited to 'tool')
-rw-r--r-- | tool/Cargo.toml | 2 | ||||
-rw-r--r-- | tool/src/sq.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tool/Cargo.toml b/tool/Cargo.toml index 708efdc9..3467d48e 100644 --- a/tool/Cargo.toml +++ b/tool/Cargo.toml @@ -10,7 +10,7 @@ sequoia-core = { path = "../core" } sequoia-net = { path = "../net" } sequoia-store = { path = "../store" } clap = "2.32.0" -failure = "0.1.1" +failure = "0.1.2" prettytable-rs = "0.7.0" rpassword = "2.0.0" time = "0.1.38" diff --git a/tool/src/sq.rs b/tool/src/sq.rs index 43ffe726..7fcc9693 100644 --- a/tool/src/sq.rs +++ b/tool/src/sq.rs @@ -373,7 +373,7 @@ fn format_time(t: &time::Timespec) -> String { fn main() { if let Err(e) = real_main() { - let mut cause = e.cause(); + let mut cause = e.as_fail(); eprint!("{}", cause); while let Some(c) = cause.cause() { eprint!(":\n {}", c); |