Function sentry_contrib_native::reinstall_backend[][src]

pub fn reinstall_backend() -> Result<(), Error>

Re-initializes the Sentry backend.

This is needed if a third-party library overrides the previously installed signal handler. Calling this function can be potentially dangerous and should only be done when necessary.

Errors

Fails with Error::ReinstallBackend if re-initializing the backend failed.