Skip to main content

parse_failure_line

Function parse_failure_line 

Source
pub fn parse_failure_line(line: &str) -> Option<&str>
Expand description

Finds FAILURE_PREFIX anywhere in line (a substring search, for the same host-logger-prefix reason as parse_discovery_line) and returns the trimmed human reason after it, or None if the marker is absent or nothing non-empty follows it.