{"issue":{"created_at":"2011-09-11T05:34:42Z","state":"open","updated_at":"2011-11-24T14:18:14Z","user":{"gravatar_id":"bcdd7427ecbdfdd46fc364afff9b5892","id":250349,"url":"https://api.github.com/users/sarmiena","login":"sarmiena","avatar_url":"https://secure.gravatar.com/avatar/bcdd7427ecbdfdd46fc364afff9b5892?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":4,"body":"```\r\n# API error\r\nruby-1.9.2-p0 :001 > Geocoder.search(\"651 Wilcox Ave 3c, Los Angeles (City), CA 90004\")\r\nGoogle Geocoding API error: over query limit.\r\n => [] \r\n```\r\nIt's not possible to differentiate between unsuccessful searches (due invalid search term) and API errors.\r\n\r\nI was thinking of adding a #search! (search bang) method that would raise an exception on API errors rather than just doing a warn.","assignee":null,"id":1616866,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":118,"labels":[],"title":"Silent failures on API error","closed_at":null,"html_url":"https://github.com/alexreisner/geocoder/issues/118","milestone":{"created_at":"2011-10-28T15:50:37Z","state":"open","due_on":null,"closed_issues":0,"creator":{"gravatar_id":"80cd41c5098fb0b56102e540f0b1c815","id":32069,"url":"https://api.github.com/users/alexreisner","login":"alexreisner","avatar_url":"https://secure.gravatar.com/avatar/80cd41c5098fb0b56102e540f0b1c815?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"number":3,"title":"1.0.6","description":"","url":"https://api.github.com/repos/alexreisner/geocoder/milestones/3","open_issues":1},"url":"https://api.github.com/repos/alexreisner/geocoder/issues/118"},"action":"created","comment":{"created_at":"2011-11-24T14:18:14Z","updated_at":"2011-11-24T14:18:14Z","user":{"gravatar_id":"2754c2df5eeda76cebc314a29e885fef","id":63361,"url":"https://api.github.com/users/afiore","login":"afiore","avatar_url":"https://secure.gravatar.com/avatar/2754c2df5eeda76cebc314a29e885fef?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"+1, This feature would come in handy for me as well. \r\nMeanwhile, is there a way to access the JSON response from the provider (I am using the `Geocoder::coordinates` method) ?\r\n","id":2864908,"url":"https://api.github.com/repos/alexreisner/geocoder/issues/comments/2864908"}}