-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Fix for testing SSL certificates (Possibly Issue #2011) #2851
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
base: develop
Are you sure you want to change the base?
Conversation
S-T-3-V-3
commented
Apr 23, 2023
- Keepalive, User Agent + Accept headers
- Catch added for failed JSON parsing
- More accurate errors displayed to user
- Keepalive, User Agent + Accept headers - Catch added for failed JSON parsing - More accurate errors displayed to user
This looks like Jenkins encountered an unrelated issue |
backend/internal/certificate.js
Outdated
const parsedBody = JSON.parse(responseBody + ''); | ||
resolve(parsedBody); | ||
} | ||
catch { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be
} catch (err) {
logger.warn("Error: " + err.message);
CI Error:
|
Seems like some pretty inconsistent linting 🤔 |
Note that successfully parsing the body as JSON doesn't mean that the test was successful. See #3388 |
PR is now considered stale. If you want to keep it open, please comment 👍 |