Skip to content

Commit

Permalink
fix broken error display (tikv#9953)
Browse files Browse the repository at this point in the history
Signed-off-by: Greg Weber <[email protected]>
  • Loading branch information
Greg Weber authored Apr 5, 2021
1 parent 5b9ab54 commit fef37f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/tikv_util/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use configuration::ConfigValue;

#[derive(Debug, Error)]
pub enum ConfigError {
#[error("0")]
#[error("{0}")]
Limit(String),
#[error("config address error: {0}")]
Address(String),
Expand Down

0 comments on commit fef37f8

Please sign in to comment.