1e3fe251d9
The hook hint messages and credential-scrubbing doc still told developers to hand-inline sanitize_error_message()/redact_secrets() — the per-site pattern #5019 consolidated into scrub_error(). Update check-sensitive-logging.py, custom-checks.py rule-5, and docs/developing/credential-scrubbing.md to name the helper (engines: self._scrub_error()) so guidance stops steering code back to the drift-prone idiom.