mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-12 01:12:30 -04:00
Improve logging on config loading failures.
When we fail to load a config directory we are logging that it wasn't a directory. With this change also log which directory we were expecting to load that isn't one so we can fix it...
This commit is contained in:
parent
334faffaa8
commit
b51569b657
1 changed files with 2 additions and 1 deletions
|
@ -114,7 +114,8 @@ async fn read_config_directory<P: AsRef<Path> + Sync + Send>(
|
||||||
);
|
);
|
||||||
return Ok(builder);
|
return Ok(builder);
|
||||||
}
|
}
|
||||||
error!("Error reading config fragment directory: {e}");
|
error!("Error reading config fragment directory {}: {e}",
|
||||||
|
path.as_ref().to_string_lossy());
|
||||||
return Err(e.into());
|
return Err(e.into());
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue