Skip to content

Commit

Permalink
Don't use eprintln!()...
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoqun committed Dec 10, 2022
1 parent 3472041 commit 2bd0f5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/banking_trace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ pub fn drop_and_clean_temp_dir_unless_suppressed(temp_dir: TempDir) {
std::env::var("BANKING_TRACE_LEAVE_FILES_FROM_LAST_ITERATION")
.is_ok()
.then(|| {
eprintln!("prevented to remove {:?}", temp_dir.path());
warn!("prevented to remove {:?}", temp_dir.path());
drop(temp_dir.into_path());
});
}
Expand Down

0 comments on commit 2bd0f5e

Please sign in to comment.