Skip to content

Commit

Permalink
chore: add Mithril client CLI version in debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
dlachaume committed Feb 4, 2025
1 parent 37387c4 commit 4e03501
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mithril-client-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ pub struct Args {

impl Args {
pub async fn execute(&self, root_logger: Logger) -> MithrilResult<()> {
debug!(
root_logger,
"Mithril client CLI version: {}",
env!("CARGO_PKG_VERSION")
);
debug!(root_logger, "Run Mode: {}", self.run_mode);
let filename = format!("{}/{}.json", self.config_directory.display(), self.run_mode);
debug!(root_logger, "Reading configuration file '{filename}'.");
Expand Down

0 comments on commit 4e03501

Please sign in to comment.