From dee015f3466fb47dff705b833d20f96e686bc6f8 Mon Sep 17 00:00:00 2001 From: jannikac Date: Sat, 4 Feb 2023 15:30:07 +0100 Subject: [PATCH] improved error message --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index 37f6652..e56eef0 100644 --- a/src/config.rs +++ b/src/config.rs @@ -15,7 +15,7 @@ pub enum ConfigError { Io(#[from] io::Error), #[error("Failed to parse config file: {0}")] Parse(#[from] toml::de::Error), - #[error("Entry {0} has invalid type {1}")] + #[error("Entry '{0}' has invalid type '{1}'")] Validation(String, String), #[error("Can't find config directory")] ConfigNotFound(),