diff --git a/src/lib.rs b/src/lib.rs index acf3076..33451a0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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); } }