{"action":"created","issue":{"url":"https://api.github.com/repos/theforeman/foreman_graphite/issues/4","labels_url":"https://api.github.com/repos/theforeman/foreman_graphite/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/theforeman/foreman_graphite/issues/4/comments","events_url":"https://api.github.com/repos/theforeman/foreman_graphite/issues/4/events","html_url":"https://github.com/theforeman/foreman_graphite/issues/4","id":59793742,"number":4,"title":"Causes Foreman to throw error if graphite is unavailable","user":{"login":"Sunner1","id":7045011,"avatar_url":"https://avatars.githubusercontent.com/u/7045011?v=3","gravatar_id":"","url":"https://api.github.com/users/Sunner1","html_url":"https://github.com/Sunner1","followers_url":"https://api.github.com/users/Sunner1/followers","following_url":"https://api.github.com/users/Sunner1/following{/other_user}","gists_url":"https://api.github.com/users/Sunner1/gists{/gist_id}","starred_url":"https://api.github.com/users/Sunner1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sunner1/subscriptions","organizations_url":"https://api.github.com/users/Sunner1/orgs","repos_url":"https://api.github.com/users/Sunner1/repos","events_url":"https://api.github.com/users/Sunner1/events{/privacy}","received_events_url":"https://api.github.com/users/Sunner1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-04T12:54:58Z","updated_at":"2015-03-04T13:08:23Z","closed_at":null,"body":"Hello,\r\n\r\nI just found my Foreman instance throwing the generic \"Something went wrong\" error, as it turns out this was because the graphite instance that the plugin sends data to was down.\r\nPulled from the logs:\r\n[:connector, [\"out.graphite.server\", 2003]]\r\n\r\nErrno::ECONNREFUSED (Connection refused - connect(2)):\r\n  lib/middleware/catch_json_parse_errors.rb:9:in `call'\r\n\r\nIt would be nice if it would rescue this instead so Foreman isn't depending on graphite to keep on working."},"comment":{"url":"https://api.github.com/repos/theforeman/foreman_graphite/issues/comments/77154317","html_url":"https://github.com/theforeman/foreman_graphite/issues/4#issuecomment-77154317","issue_url":"https://api.github.com/repos/theforeman/foreman_graphite/issues/4","id":77154317,"user":{"login":"Sunner1","id":7045011,"avatar_url":"https://avatars.githubusercontent.com/u/7045011?v=3","gravatar_id":"","url":"https://api.github.com/users/Sunner1","html_url":"https://github.com/Sunner1","followers_url":"https://api.github.com/users/Sunner1/followers","following_url":"https://api.github.com/users/Sunner1/following{/other_user}","gists_url":"https://api.github.com/users/Sunner1/gists{/gist_id}","starred_url":"https://api.github.com/users/Sunner1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sunner1/subscriptions","organizations_url":"https://api.github.com/users/Sunner1/orgs","repos_url":"https://api.github.com/users/Sunner1/repos","events_url":"https://api.github.com/users/Sunner1/events{/privacy}","received_events_url":"https://api.github.com/users/Sunner1/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T13:08:23Z","updated_at":"2015-03-04T13:08:23Z","body":"Oh, forgot to mention, version 0.0.2 of the plugin, running on Foreman 1.7.2, Debian 7 64-bit and the default Debian ruby 1.9.3."}}