Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Throws #36

Open
coguy450 opened this issue Dec 6, 2016 · 1 comment
Open

Error Throws #36

coguy450 opened this issue Dec 6, 2016 · 1 comment

Comments

@coguy450
Copy link

coguy450 commented Dec 6, 2016

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

@mpguerra mpguerra assigned mpguerra and unassigned mpguerra Dec 9, 2016
@mpguerra
Copy link

mpguerra commented Dec 9, 2016

@picsoung would you be able to take a look at this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants