[SERVER-66153] Improve HTTPClient error reporting Created: 03/May/22 Updated: 29/Oct/23 Resolved: 06/Jun/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 5.0.0 |
| Fix Version/s: | 6.1.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Sara Golemon | Assignee: | Gabriel Marks |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Backport Requested: |
v6.0, v5.0, v4.4
|
||||||||
| Sprint: | Security 2022-05-16, Security 2022-05-30, Security 2022-06-13 | ||||||||
| Participants: | |||||||||
| Case: | (copied to CRM) | ||||||||
| Description |
|
Currently, an HTTPClient failure during may inadvertantly swallow the content of the error message by not relaying the underlying cURL status. Connect any thrown exception such as this one up to the original caller rather than replacing it with "unknown error". |
| Comments |
| Comment by Githook User [ 06/Jun/22 ] |
|
Author: {'name': 'Gabriel Marks', 'email': 'gabriel.marks@mongodb.com', 'username': 'marksg07'}Message: |
| Comment by Githook User [ 06/Jun/22 ] |
|
Author: {'name': 'Gabriel Marks', 'email': 'gabriel.marks@mongodb.com', 'username': 'marksg07'}Message: |