Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed May 22, 2023
1 parent 8fabba7 commit 34459d0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/next-swc/crates/next-dev/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ use turbopack_binding::{
},
turbopack::{
cli_utils::{
exit::exit_guard,
exit::ExitGuard,
issue::{ConsoleUiVc, LogOptions},
raw_trace::RawTraceLayer,
trace_writer::TraceWriter,
Expand Down Expand Up @@ -454,6 +454,7 @@ static TRACING_TURBOPACK_TARGETS: Lazy<Vec<&str>> = Lazy::new(|| {
[
&TRACING_NEXT_TARGETS[..],
&[
"turbo_tasks=info",
"turbopack=trace",
"turbopack_core=trace",
"turbopack_ecmascript=trace",
Expand Down Expand Up @@ -529,7 +530,7 @@ pub async fn start_server(options: &DevServerOptions) -> Result<()> {
let (trace_writer, guard) = TraceWriter::new(trace_writer);
let subscriber = subscriber.with(RawTraceLayer::new(trace_writer));

let guard = exit_guard(guard).unwrap();
let guard = ExitGuard::new(guard).unwrap();

subscriber.init();

Expand Down

0 comments on commit 34459d0

Please sign in to comment.