[SERVER-39604] errnoWithDescription should return error code value for unknown errors Created: 15/Feb/19 Updated: 29/Oct/23 Resolved: 28/Feb/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.9 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Jonathan Reams | Assignee: | Jonathan Reams |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Sprint: | Security 2019-02-25, Security 2019-03-11 | ||||
| Participants: | |||||
| Linked BF Score: | 6 | ||||
| Description |
|
Right now, if errnoWithDescription() cannot find a text description of an error code (with the XSI-compliant strerror_r) it just returns "Unknown error", which means we loose the error code value completely. This means we cannot do any research about what the error was after the fact. |
| Comments |
| Comment by Githook User [ 28/Feb/19 ] |
|
Author: {'name': 'Jonathan Reams', 'email': 'jbreams@mongodb.com', 'username': 'jbreams'}Message: |