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

Catch errors that occur before header is set up #256

Open
wants to merge 1 commit into
base: v1.x/staging
Choose a base branch
from

Conversation

1000TurquoisePogs
Copy link
Member

Actually a small code change, this is nearly all whitespace difference.
Simply this duplicates the catching of errors upon http client request because
Node API states that errors are thrown when no error handler attached.
Node has a timing issue around errors that occur before the error handler can be assigned, hence this catch
Signed-off-by: 1000TurquoisePogs [email protected]

@sonarcloud
Copy link

sonarcloud bot commented Oct 26, 2020

SonarCloud Quality Gate failed.

Bug C 2 Bugs
Vulnerability B 1 Vulnerability (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 35 Code Smells

0.0% 0.0% Coverage
3.3% 3.3% Duplication

warning The version of Java (1.8.0_242) you have used to run this analysis is deprecated and we will stop accepting it from October 2020. Please update to at least Java 11.
Read more here
warning The version of Node.js (v8.17.0) you have used to run this analysis is deprecated and we will stop accepting it from 16th November 2020. Please update to at least Node.js 10. Read more here

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

Successfully merging this pull request may close these issues.

1 participant