Skip to content

Commit

Permalink
Return fatal error when no tracing is initialized before the update
Browse files Browse the repository at this point in the history
  • Loading branch information
mabulgu committed Mar 7, 2025
1 parent a11ab44 commit 616fcd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/src/tracing_util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ pub fn update_tracing_log_level(log_level: Level) {
eprintln!("Failed to update log level: {}", e);
}
} else {
eprintln!("Logging system not initialized yet.");
panic!("Fatal error: Logging system not initialized. Ensure initialize_tracing() is called first.");
}
}

0 comments on commit 616fcd9

Please sign in to comment.