SERVER-132409Open

Log local key file read error in AuditKeyManagerLocal before throwing exception

If the {{getKeyFromKeyFile()}} call in the AuditKeyManagerLocal constructor returns an error, the server simply throws an uncaught exception that never gets logged as a failure, making it hard to diagnose. Use massert or expressly make it a process-fatal error with LOGV2_FATAL.

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.