Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Plugins: Emit nicer error message when trying to install unknown plugin
When installing plugins, we first try the elastic download service for official plugins, then try maven coordinates, and finally try the argument as a url. This can lead to confusing error messages about unknown protocols when eg an official plugin name is mispelled. This change adds a heuristic for determining if the argument in the final case is in fact a url that we should try, and gives a simplified error message in the case it is definitely not a url. closes elastic#17226
- Loading branch information