Skip to main content

surface_compat_warnings

Function surface_compat_warnings 

Source
async fn surface_compat_warnings(
    warnings: Vec<String>,
    log: Option<&NotificationLogHandle>,
)
Expand description

Push each warning string into log (if provided) as a Severity::Warning notification, or fall through to tracing::warn! when log is None.

Errors from the notification log are not propagated — warning delivery is best-effort and must not block client construction.