pub fn extract_error_message(body: &str) -> StringExpand description
Extract a human-readable message from a NiFi error response body.
NiFi returns either a JSON object with a "message" field or plain text.
Logs the raw body at debug level before extracting.