Skip to content

Commit

Permalink
core: remove the panic on drop
Browse files Browse the repository at this point in the history
Signed-off-by: Vincenzo Palazzo <[email protected]>
  • Loading branch information
vincenzopalazzo committed Oct 24, 2024
1 parent 4929909 commit e013d91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,6 @@ impl Drop for Opentelemetry {
let Some(Err(err)) = self.logger.as_ref().map(|log| log.shutdown()) else {
return;
};
panic!("Failed to shutdown logger: {:?}", err);
eprintln!("Failed to shutdown logger: {:?}", err);
}
}

0 comments on commit e013d91

Please sign in to comment.