fix otel panic
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user