Skip to main content

record_shutdown_error

Function record_shutdown_error 

Source
pub(crate) fn record_shutdown_error(
    first_error: &mut Option<Error>,
    result: Result<()>,
)
Expand description

Keeps the first shutdown error and logs the later ones.