Make discovery.yml version mismatch error message more clear
This is currently causing confusion, as seen on Slack:
Any idea why I'm seeing "Meltano could not parse the discovery.yml returned by the server" when running meltano commands? Doesn't seem to affect functionality
I responded:
What happened is that I had to increment the version of the meltano.yml file format because I added a new plugin type: files. As a result, pre-v1.36.0 Meltano would try to fetch the latest version from meltano.com/discovery.yml and find a version that was too new and it couldn’t parse (edited)
When that happens, Meltano falls back on a cached copy from the latest successful fetch, or if there is none, the version bundled with the meltano package
We can explain this more clearly in the error message.