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:
Jacob Heun
2019-11-26 07:42:37 -06:00
parent 2104578924
commit f28b09fc0d
8 changed files with 8 additions and 8 deletions

View File

@ -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)
}
}