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

Restore some of the @icon checks until resolved #1325

Merged
merged 1 commit into from
Feb 10, 2018

Conversation

Martii
Copy link
Member

@Martii Martii commented Feb 10, 2018

  • Do some of the checks that don't pertain to TLS issue
  • Fix with additional on('error',... for the request instead of response. My bad although still doesn't appear to work with native https.get and https.request.

Applies to #1323

* Do some of the checks that don't pertain to TLS issue
* Fix with additional `on('error',...` for the request instead of response. My bad although still doesn't appear to work with native `https.get` and `https.request`.

Applies to OpenUserJS#1323
@Martii Martii added bug You've guessed it... this means a bug is reported. enhancement Something we do have implemented already but needs improvement upon to the best of knowledge. CODE Some other Code related issue and it should clearly describe what it is affecting in a comment. labels Feb 10, 2018
@Martii Martii merged commit 7d49ebe into OpenUserJS:master Feb 10, 2018
@Martii Martii deleted the restorePartialIconCheck branch February 10, 2018 02:01
@Martii
Copy link
Member Author

Martii commented Feb 10, 2018

Deployed.

} else {
fn = /^http:/.test(icon) ? http : https;

// Workaround for #1323
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Skipping https here until resolved.

}).on('error', function (aErr) {
aInnerCallback(aErr);
});
}).on('error', function (aErr) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added missing request error trap here.

} else {
aInnerCallback(null);
}
}).on('error', function (aErr) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Initial error trap was on response and not the request... still present.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug You've guessed it... this means a bug is reported. CODE Some other Code related issue and it should clearly describe what it is affecting in a comment. enhancement Something we do have implemented already but needs improvement upon to the best of knowledge.
Development

Successfully merging this pull request may close these issues.

1 participant