Skip to content

Commit

Permalink
Update custom_tracing/src/lib.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Jeff Grunewald <jeff.grunewald@gmail.com>
  • Loading branch information
macpie and jeffgrunewald authored May 1, 2024
1 parent 618e0d6 commit 2840378
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_tracing/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ pub async fn init(og_filter: String, file: String) -> Result<()> {
file,
reload_handle,
};
if let Err(e) = state.watch().await {
tracing::warn!("error: {:?}", e)
if let Err(err) = state.watch().await {
tracing::warn!(?err, "tracing error watching configuration for update")
}
});

Expand Down

0 comments on commit 2840378

Please sign in to comment.