Skip to content

If the error handler function is not passed to 'request' then it can throw an uncatchable exception. #42

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gautam1168
Copy link

Since the library is not allowing us to pass an error handler we are unable to catch the ECONNREFUSED error. This error cannot be caught using a try catch block and makes our server crash. Please consider merging this PR.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 91

  • 3 of 3 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 88.339%

Totals Coverage Status
Change from base Build 85: 0.0%
Covered Lines: 167
Relevant Lines: 180

💛 - Coveralls

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

Successfully merging this pull request may close these issues.

2 participants