-
Type:
Improvement
-
Resolution: Won't Fix
-
Priority:
Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Diagnostics, Usability
-
None
-
Fully Compatible
verify(<system_call> == 0) doesn't say why it failed, only that it did. Printing (for linux) strerror would be helpful in these situations.
For example:
https://github.com/mongodb/mongo/blob/master/src/mongo/db/initialize_server_global_state.cpp#L87