feat: log detection of config file (#17338)

Closes #14578
This commit is contained in:
Leo Kettmeir 2023-01-24 15:41:22 +01:00 committed by GitHub
parent 2027d98a8e
commit 0204071e30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 1 deletions

View file

@ -524,8 +524,9 @@ impl ConfigFile {
if checked.insert(ancestor.to_path_buf()) {
for config_filename in CONFIG_FILE_NAMES {
let f = ancestor.join(config_filename);
match ConfigFile::read(f) {
match ConfigFile::read(&f) {
Ok(cf) => {
log::debug!("Config file found at '{}'", f.display());
return Ok(Some(cf));
}
Err(e) => {