fix otel panic

This commit is contained in:
Floriane TUERNAL SABOTINOV
2025-08-27 18:55:03 +02:00
parent fa603be538
commit a11de8eb74
+3 -3
View File
@@ -58,9 +58,9 @@ impl Cli {
#[instrument]
pub(crate) fn execute(self) -> anyhow::Result<()> {
// NOTE: `test_throughput` sets up its own logger as it has to include additional layers
if !matches!(self.command, Commands::TestThroughput(..)) {
crate::logging::setup_tracing_logger()?;
}
// if !matches!(self.command, Commands::TestThroughput(..)) {
// crate::logging::setup_tracing_logger()?;
// }
match self.command {
// Sync commands get logger w. no OTEL