diff options
author | Joe Wilm <joe@jwilm.com> | 2017-02-10 09:40:26 -0800 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2017-02-10 09:40:26 -0800 |
commit | 7707dcdc5c138a0f4007caa72bf818342d0e5a23 (patch) | |
tree | b9207af060ef916bd3931059488c32d449e8f960 /src/config.rs | |
parent | 98c01457df48e6bada23e4ac864e52ec0fa02d75 (diff) | |
download | alacritty-7707dcdc5c138a0f4007caa72bf818342d0e5a23.tar.gz alacritty-7707dcdc5c138a0f4007caa72bf818342d0e5a23.zip |
Print YAML errors using Display
Much nicer error message than with Debug.
Diffstat (limited to 'src/config.rs')
-rw-r--r-- | src/config.rs | 2 |
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), } } } |