Skip to content

Commit 0a2c97a

Browse files
authored
fix: fix tracing subscriber initialization in cli (#2858)
1 parent 2a0ac92 commit 0a2c97a

File tree

1 file changed

+1
-1
lines changed
  • crates/walrus-service/src/client/cli

1 file changed

+1
-1
lines changed

crates/walrus-service/src/client/cli/runner.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ impl ClientCommandRunner {
228228
None => (),
229229
}
230230
// Since we may export OTLP, this needs to be initialised in an async context.
231-
let _guard = subscriber_builder.init()?;
231+
let _guard = subscriber_builder.init_scoped()?;
232232

233233
self.run_cli_app_inner(command).await
234234
};

0 commit comments

Comments
 (0)