Skip to content

throw error on requests with a released client #559

Description

@jkerr5

Handle "ECONNRESET" errors that can happen if a connection is suddenly closed out from the client. Provide a more descriptive error message indicating what happened. Here is an example of what gets reported now:

{ Error: socket hang upat createHangUpError (_http_client.js:254:15)at TLSSocket.socketCloseListener (_http_client.js:286:23)at emitOne (events.js:101:20)at TLSSocket.emit (events.js:188:7)at _handle.close (net.js:497:12)at TCP.done [as _onclose] (_tls_wrap.js:332:7) code: 'ECONNRESET' }

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions