Skip to content

Catch errors in request #1

@grydstedt

Description

@grydstedt

Requests using the request library aren't caught using .on('error'), which crashes the server.

Example: Error: getaddrinfo ENOTFOUND sandbox.ebanx.com sandbox.ebanx.com:443.

Can we add an error handler?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions