summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2017-02-10 09:40:26 -0800
committerJoe Wilm <joe@jwilm.com>2017-02-10 09:40:26 -0800
commit7707dcdc5c138a0f4007caa72bf818342d0e5a23 (patch)
treeb9207af060ef916bd3931059488c32d449e8f960 /src
parent98c01457df48e6bada23e4ac864e52ec0fa02d75 (diff)
Print YAML errors using Display
Much nicer error message than with Debug.
Diffstat (limited to 'src')
-rw-r--r--src/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.rs b/src/config.rs
index eb4a9e61..6daa0eb1 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -997,7 +997,7 @@ impl ::std::fmt::Display for Error {
write!(f, "could not read $HOME environment variable: {}", err)
},
Error::Io(ref err) => write!(f, "error reading config file: {}", err),
- Error::Yaml(ref err) => write!(f, "problem with config: {:?}", err),
+ Error::Yaml(ref err) => write!(f, "problem with config: {}", err),
}
}
}