Skip to content

Commit

Permalink
fix(cli): doesn't log before parsing arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
etienne-napoleone committed Jul 20, 2022
1 parent 859d52b commit 319ebb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ mod heart;
mod lcd;

fn main() {
let args = cli::Args::parse();
init_logging();
init_signal_handler();
log::info!("starting v{}", env!("CARGO_PKG_VERSION"));
let args = cli::Args::parse();
let agent = ureq::AgentBuilder::new()
.timeout_read(Duration::from_secs(2))
.timeout_write(Duration::from_secs(2))
Expand Down

0 comments on commit 319ebb1

Please sign in to comment.