We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9f4ff1 commit da38ba9Copy full SHA for da38ba9
crates/pop-parachains/src/bench/mod.rs
@@ -105,7 +105,7 @@ pub fn generate_benchmarks(args: Vec<String>) -> anyhow::Result<()> {
105
pub async fn generate_overhead_benchmarks(cmd: OverheadCmd) -> anyhow::Result<()> {
106
tokio::task::spawn_blocking(move || {
107
std::env::set_var("RUST_LOG", "info");
108
- env_logger::init();
+ let _ = env_logger::try_init();
109
cmd.run_with_default_builder_and_spec::<OpaqueBlock, HostFunctions>(None)
110
.map_err(|e| anyhow::anyhow!(format!("Failed to run benchmarking: {}", e)))
111
})
0 commit comments