diff options
author | Teddy Wing | 2020-08-02 04:48:24 +0200 |
---|---|---|
committer | Teddy Wing | 2020-08-02 04:48:24 +0200 |
commit | be8dfca975df2b0d0d5b267310bf1c540c873ccc (patch) | |
tree | fd1c46dc19addb0d8c08eb827b1388736ec67bfa | |
parent | 1d9cea6cdb473ed3044683853b6f8b6b35891258 (diff) | |
download | git-suggestion-be8dfca975df2b0d0d5b267310bf1c540c873ccc.tar.bz2 |
config::Error::Opts: Include source error in message
Ensure the source error is surfaced.
-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 bbee2c9..cd81d43 100644 --- a/src/config.rs +++ b/src/config.rs @@ -11,7 +11,7 @@ const GIT_CONFIG_PREFIX: &'static str = "githubSuggestion."; #[derive(Debug, Error)] pub enum Error { - #[error("Unable to parse arguments")] + #[error("Unable to parse arguments: {0}")] Opts(#[from] getopts::Fail), #[error("Error getting environment variable")] |