pub fn detect_exit_reason(text: Option<&str>) -> Option<String>
Scan log text for a known fatal marker.