Skip to content

Error Throws #36

@coguy450

Description

@coguy450

We are using the 3scale node module for our production environment. During the outage on Dec 6, our node servers crashed with the error:
] /usr/src/app/node_modules/3scale/lib/client.js:280
throw "[Client::authrep] Server Error Code: " + response.statusCode;]
^
[Client::authrep] Server Error Code: 503

We'd like to prevent future crashes. In looking at the node documentation, I found the following documentation helpful (https://nodejs.org/api/errors.html), they recommend not using try/catch throws in these types of apis

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions