Skip to content

Commit

Permalink
chore: no point logging that you can not install logging
Browse files Browse the repository at this point in the history
  • Loading branch information
rholshausen committed May 25, 2022
1 parent 11ddc11 commit 6a12675
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 @@ -96,7 +96,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
.with(formatting_layer);

if let Err(err) = tracing::subscriber::set_global_default(subscriber) {
warn!("Failed to initialise global tracing subscriber - {err}");
eprintln!("WARN: Failed to initialise global tracing subscriber - {err}");
};

let args: Vec<String> = env::args().collect();
Expand Down

0 comments on commit 6a12675

Please sign in to comment.