File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -320,15 +320,21 @@ fn handle_helper_start(
320320 }
321321
322322 let result = ( || -> Result < ( ) > {
323+ eprintln ! ( "handle_helper_start: config={}" , config_path. display( ) ) ;
323324 let paths = resolve_paths ( Some ( config_path. clone ( ) ) ) ?;
325+ eprintln ! ( "handle_helper_start: paths resolved" ) ;
324326 let _ = AppConfig :: migrate_config_if_needed ( & paths. config_path ) ?;
325327 let config = AppConfig :: load_or_create ( & paths. config_path ) ?;
328+ eprintln ! ( "handle_helper_start: config loaded" ) ;
326329
327- ensure_loopback_alias ( & config) ?;
330+ ensure_loopback_alias ( & config) . context ( "ensure_loopback_alias failed" ) ?;
331+ eprintln ! ( "handle_helper_start: loopback ok" ) ;
328332
329- let bundle = ensure_bundle ( & config, & paths. cert_dir ) ?;
333+ let bundle = ensure_bundle ( & config, & paths. cert_dir ) . context ( "ensure_bundle failed" ) ?;
334+ eprintln ! ( "handle_helper_start: bundle ok" ) ;
330335
331- apply_hosts ( & config, & paths) ?;
336+ apply_hosts ( & config, & paths) . context ( "apply_hosts failed" ) ?;
337+ eprintln ! ( "handle_helper_start: hosts ok" ) ;
332338 let _ = flush_dns_cache ( ) ;
333339
334340 let pid = std:: process:: id ( ) ;
You can’t perform that action at this time.
0 commit comments