From 08673d5d400e34912efa02353ca276e004cb98c3 Mon Sep 17 00:00:00 2001 From: asxalex Date: Thu, 4 Jul 2024 20:39:57 +0800 Subject: [PATCH] added init debug info --- src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index b068754..12d0108 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -26,13 +26,16 @@ pub async fn run_sdlan( // start_stop_sender: Sender, // start_stop_receiver: Receiver, ) -> Result<()> { + debug!("run_sdlan"); let (start_stop_sender, start_stop_chan) = channel(20); let edge_uuid = create_or_load_uuid("")?; let node_conf = parse_config(edge_uuid, &args).await?; + debug!("initing edge"); if let Err(e) = init_edge(&args.token, node_conf, args.tos, start_stop_sender).await { panic!("failed to init edge: {:?}", e); } + debug!("edge inited"); let cancel = CancellationToken::new(); tokio::spawn(async move {