Merge pull request #19684 from darichey/error-parse-discover

Always error when failed to parse DiscoverProjectMessage