File tree 1 file changed +4
-4
lines changed
packages/libp2p/src/connection-manager
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -172,25 +172,25 @@ export class AutoDial implements Startable {
172
172
( peer ) => {
173
173
// Remove peers without addresses
174
174
if ( peer . addresses . length === 0 ) {
175
- log . trace ( 'not autodialing %p because they have no addresses' )
175
+ log . trace ( 'not autodialing %p because they have no addresses' , peer . id )
176
176
return false
177
177
}
178
178
179
179
// remove peers we are already connected to
180
180
if ( connections . has ( peer . id ) ) {
181
- log . trace ( 'not autodialing %p because they are already connected' )
181
+ log . trace ( 'not autodialing %p because they are already connected' , peer . id )
182
182
return false
183
183
}
184
184
185
185
// remove peers we are already dialling
186
186
if ( dialQueue . has ( peer . id ) ) {
187
- log . trace ( 'not autodialing %p because they are already being dialed' )
187
+ log . trace ( 'not autodialing %p because they are already being dialed' , peer . id )
188
188
return false
189
189
}
190
190
191
191
// remove peers already in the autodial queue
192
192
if ( this . queue . hasJob ( peer . id ) ) {
193
- log . trace ( 'not autodialing %p because they are already being autodialed' )
193
+ log . trace ( 'not autodialing %p because they are already being autodialed' , peer . id )
194
194
return false
195
195
}
196
196
You can’t perform that action at this time.
0 commit comments