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 81e3138 commit dd107d0Copy full SHA for dd107d0
crates/napi/src/next_api/project.rs
@@ -471,9 +471,9 @@ pub fn project_new(
471
benchmark_file_io(tt, container.project().node_root().owned().await?).await
472
};
473
if let Err(err) = future.await {
474
- // TODO this tracing warn will go into the void. Should we change this to
475
- // stdout?
476
- tracing::warn!(%err, "failed to benchmark file IO");
+ // TODO Not ideal to print directly to stdout.
+ // We should use a compilation event instead to report async errors.
+ println!("Failed to benchmark file IO: {err}");
477
}
478
})
479
});
0 commit comments