File tree 2 files changed +2
-8
lines changed
2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -422,7 +422,7 @@ impl RelayActor {
422
422
url : & RelayUrl ,
423
423
remote_node : Option < & NodeId > ,
424
424
) -> relay:: client:: Client {
425
- debug ! ( %url, ?remote_node, "connect relay" ) ;
425
+ trace ! ( %url, ?remote_node, "connect relay" ) ;
426
426
// See if we have a connection open to that relay node ID first. If so, might as
427
427
// well use it. (It's a little arbitrary whether we use this one vs. the reverse route
428
428
// below when we have both.)
Original file line number Diff line number Diff line change @@ -561,12 +561,6 @@ impl Actor {
561
561
& mut self ,
562
562
why : & ' static str ,
563
563
) -> Result < ( Conn , & ' _ mut ConnReceiver ) , ClientError > {
564
- debug ! (
565
- "connect: {}, current client {}" ,
566
- why,
567
- self . relay_conn. is_some( )
568
- ) ;
569
-
570
564
if self . is_closed {
571
565
return Err ( ClientError :: Closed ) ;
572
566
}
@@ -590,7 +584,7 @@ impl Actor {
590
584
591
585
Ok ( ( conn, receiver) )
592
586
}
593
- . instrument ( info_span ! ( "connect" , %url) )
587
+ . instrument ( info_span ! ( "connect" , %url, %why ) )
594
588
. await
595
589
}
596
590
You can’t perform that action at this time.
0 commit comments