Skip to main content

read_provider_failure

Function read_provider_failure 

Source
fn read_provider_failure(path: &Path) -> Option<String>
Expand description

Return the provider’s actual lifecycle failure rather than whichever shutdown record happened to be written last. Scribe records are JSONL; providers commonly report lifecycle transitions at info level, so prefer -> ERROR (...) messages before falling back to an error-level record.