summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-08-29 13:13:39 -0400
committerGitHub <noreply@github.com>2022-08-29 13:13:39 -0400
commitea838d27a2b1bd7b396843b645aff544f84265c1 (patch)
tree026327631bf7775006739c82304307d436d07176
parentad98c9fdd16b6d9a26b02a1ba83eaf04f0782674 (diff)
fix: config file errors should not print specifier with debug formatting (#15648)
-rw-r--r--cli/args/config_file.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/args/config_file.rs b/cli/args/config_file.rs
index ab6e57cb1..f6dc502be 100644
--- a/cli/args/config_file.rs
+++ b/cli/args/config_file.rs
@@ -567,13 +567,13 @@ impl ConfigFile {
Ok(Some(value)) if value.is_object() => value,
Ok(Some(_)) => {
return Err(anyhow!(
- "config file JSON {:?} should be an object",
+ "config file JSON {} should be an object",
specifier,
))
}
Err(e) => {
return Err(anyhow!(
- "Unable to parse config file JSON {:?} because of {}",
+ "Unable to parse config file JSON {} because of {}",
specifier,
e.to_string()
))