Fix typo in NoLivingConnectionsError (#1045)

Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com>
This commit is contained in:
Alexandre GOMES
2020-02-03 10:34:23 +01:00
committed by GitHub
parent ebb96e95bf
commit 7945b68693

View File

@ -109,7 +109,7 @@ class Transport {
if (meta.aborted === true) return
meta.connection = this.getConnection({ requestId: meta.request.id })
if (meta.connection === null) {
return callback(new NoLivingConnectionsError('There are not living connections'), result)
return callback(new NoLivingConnectionsError('There are no living connections'), result)
}
// TODO: make this assignment FAST