Small fixes
This commit is contained in:
@ -185,6 +185,7 @@ class Transport {
|
||||
// collect the payload
|
||||
response.setEncoding('utf8')
|
||||
response.on('data', chunk => { payload += chunk })
|
||||
/* istanbul ignore next */
|
||||
response.on('error', err => {
|
||||
const error = new ConnectionError(err.message, params)
|
||||
this.emit('response', error, meta)
|
||||
|
||||
Reference in New Issue
Block a user