RedactQueryLogWriterError returns a log-safe error string for the privileged query-log writer. Writer failures can wrap DuckDB/DuckLake errors that echo generated ATTACH or CREATE SECRET SQL, so redact at the logging boundary without changing the original error used for retry/control-flow decisions.
(err error)
source not stored for this graph (policy: none)