This is a follow-up to #6459. It logs the error instead of silently skipping it. Release Notes: - N/A