Skip to content

Commit

Permalink
Fix ExeUnit binary compilation with packet-trace flag
Browse files Browse the repository at this point in the history
  • Loading branch information
nieznanysprawiciel committed Jan 30, 2024
1 parent 63eb34b commit b4ba4f2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion exe-unit/src/bin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,11 @@ async fn main() {
};

dotenv::dotenv().ok();

#[cfg(feature = "packet-trace-enable")]
init_packet_trace()?;
if let Err(error) = init_packet_trace() {
log::warn!("Initializing packet tracing failed: {error:?}");
}

let cli: Cli = Cli::from_args();

Expand Down

0 comments on commit b4ba4f2

Please sign in to comment.