pub fn log_warning(error: &Error)Expand description
Logs anyhow::Error’s its error chain using the WARN log level.
This follows the existing convention in the codebase that joins errors using em dashes. For example, an error “Invalid transaction” with a cause “Proof failed” would be logged as “Invalid transaction — Proof failed”.