summaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
Diffstat (limited to 'tool')
-rw-r--r--tool/Cargo.toml2
-rw-r--r--tool/src/sq.rs2
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);