relay_log::sentry

Function end_session_with_status

pub fn end_session_with_status(status: SessionStatus)
Expand description

End the current Release Health Session with the given SessionStatus.

By default, the SDK will only consider the Exited and Crashed status based on the type of events that were captured during the session.

When an Abnormal session should be captured, it has to be done explicitly using this function.