Skip to content

Commit

Permalink
Merge pull request #7 from dtolnay-contrib/fmt
Browse files Browse the repository at this point in the history
Fix missing fmt argument in error message
  • Loading branch information
kpcyrd authored Nov 3, 2021
2 parents 4ebecf3 + 229cce0 commit 5cbd0e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ impl Config {

for path in configs {
let c = ConfigFile::load_from(&path)
.with_context(|| anyhow!("Failed to load config file: {:?}"))?;
.with_context(|| anyhow!("Failed to load config file: {:?}", path))?;
if let Some(config) = c {
debug!("Applying config from {:?}", path);
merged.update(config);
Expand Down

0 comments on commit 5cbd0e7

Please sign in to comment.