Skip to content
This repository was archived by the owner on Aug 23, 2019. It is now read-only.

Commit 0fb76db

Browse files
author
Alan Shaw
committed
chore: appease linter
License: MIT Signed-off-by: Alan Shaw <[email protected]>
1 parent dff2f8d commit 0fb76db

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/limit-dialer/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ const debug = require('debug')
66
const log = debug('libp2p:switch:dialer')
77

88
const DialQueue = require('./queue')
9-
const { CONNECTION_FAILED } = require('../errors')
109

1110
/**
1211
* Track dials per peer and limited them.
@@ -45,7 +44,7 @@ class LimitDialer {
4544

4645
tryEach(tasks, (err, res) => {
4746
if (err) {
48-
log('dialMany:error')
47+
log('dialMany:error', err)
4948
return callback(err)
5049
}
5150
log('dialMany:success')

0 commit comments

Comments
 (0)