mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-06-14 17:51:22 +00:00
refactor: update secio and tests to use it (#484)
* refactor: use async secio * test: add secio to most test suites * chore: update secio version
This commit is contained in:
@ -82,7 +82,7 @@ class TransportManager {
|
||||
try {
|
||||
return await transport.dial(ma, options)
|
||||
} catch (err) {
|
||||
throw errCode(new Error('Transport dial failed'), codes.ERR_TRANSPORT_DIAL_FAILED, err)
|
||||
throw errCode(err, codes.ERR_TRANSPORT_DIAL_FAILED)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user