{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/logstash/issues/3407","labels_url":"https://api.github.com/repos/elastic/logstash/issues/3407/labels{/name}","comments_url":"https://api.github.com/repos/elastic/logstash/issues/3407/comments","events_url":"https://api.github.com/repos/elastic/logstash/issues/3407/events","html_url":"https://github.com/elastic/logstash/pull/3407","id":86893198,"number":3407,"title":"Show errors encountered when validating a plugin rather than saying it does not exist","user":{"login":"driskell","id":939815,"avatar_url":"https://avatars.githubusercontent.com/u/939815?v=3","gravatar_id":"","url":"https://api.github.com/users/driskell","html_url":"https://github.com/driskell","followers_url":"https://api.github.com/users/driskell/followers","following_url":"https://api.github.com/users/driskell/following{/other_user}","gists_url":"https://api.github.com/users/driskell/gists{/gist_id}","starred_url":"https://api.github.com/users/driskell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driskell/subscriptions","organizations_url":"https://api.github.com/users/driskell/orgs","repos_url":"https://api.github.com/users/driskell/repos","events_url":"https://api.github.com/users/driskell/events{/privacy}","received_events_url":"https://api.github.com/users/driskell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-10T08:49:38Z","updated_at":"2015-06-10T08:49:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/elastic/logstash/pulls/3407","html_url":"https://github.com/elastic/logstash/pull/3407","diff_url":"https://github.com/elastic/logstash/pull/3407.diff","patch_url":"https://github.com/elastic/logstash/pull/3407.patch"},"body":"Currently, if you attempt to install a plugin and an error occurs, the plugin installer just reports the plugin does not exist. For example, if I turn off my internet connection:\r\n\r\n```\r\n$ bin/plugin install logstash-input-courier\r\nValidating logstash-input-courier\r\nPlugin logstash-input-courier does not exist\r\nERROR: Installation aborted, verification failed for logstash-input-courier \r\n```\r\n\r\nThis PR reports the errors if there are any, instead of reporting the plugin does not exist. For example, the above scenario would now report:\r\n\r\n```\r\n$ bin/plugin install logstash-input-courier\r\nValidating logstash-input-courier\r\nUnable to download data from https://rubygems.org - SocketError: initialize: name or service not known (https://rubygems.org/latest_specs.4.8.gz)\r\nERROR: Installation aborted, verification failed for logstash-input-courier \r\n```"},"comment":{"url":"https://api.github.com/repos/elastic/logstash/issues/comments/110658553","html_url":"https://github.com/elastic/logstash/pull/3407#issuecomment-110658553","issue_url":"https://api.github.com/repos/elastic/logstash/issues/3407","id":110658553,"user":{"login":"elasticsearch-release","id":6044169,"avatar_url":"https://avatars.githubusercontent.com/u/6044169?v=3","gravatar_id":"","url":"https://api.github.com/users/elasticsearch-release","html_url":"https://github.com/elasticsearch-release","followers_url":"https://api.github.com/users/elasticsearch-release/followers","following_url":"https://api.github.com/users/elasticsearch-release/following{/other_user}","gists_url":"https://api.github.com/users/elasticsearch-release/gists{/gist_id}","starred_url":"https://api.github.com/users/elasticsearch-release/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elasticsearch-release/subscriptions","organizations_url":"https://api.github.com/users/elasticsearch-release/orgs","repos_url":"https://api.github.com/users/elasticsearch-release/repos","events_url":"https://api.github.com/users/elasticsearch-release/events{/privacy}","received_events_url":"https://api.github.com/users/elasticsearch-release/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T08:49:40Z","updated_at":"2015-06-10T08:49:40Z","body":"Jenkins standing by to test this. If you aren't a maintainer, you can ignore this comment. Someone with commit access, please review this and clear it for Jenkins to run; then  say 'jenkins, test it'. "}}