{"action":"opened","issue":{"url":"https://api.github.com/repos/gsouf/google-url/issues/16","labels_url":"https://api.github.com/repos/gsouf/google-url/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/gsouf/google-url/issues/16/comments","events_url":"https://api.github.com/repos/gsouf/google-url/issues/16/events","html_url":"https://github.com/gsouf/google-url/issues/16","id":97051881,"number":16,"title":"SimpleProxy throws error with empty error message","user":{"login":"clarkk","id":1913916,"avatar_url":"https://avatars.githubusercontent.com/u/1913916?v=3","gravatar_id":"","url":"https://api.github.com/users/clarkk","html_url":"https://github.com/clarkk","followers_url":"https://api.github.com/users/clarkk/followers","following_url":"https://api.github.com/users/clarkk/following{/other_user}","gists_url":"https://api.github.com/users/clarkk/gists{/gist_id}","starred_url":"https://api.github.com/users/clarkk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clarkk/subscriptions","organizations_url":"https://api.github.com/users/clarkk/orgs","repos_url":"https://api.github.com/users/clarkk/repos","events_url":"https://api.github.com/users/clarkk/events{/privacy}","received_events_url":"https://api.github.com/users/clarkk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-24T13:22:10Z","updated_at":"2015-07-24T13:22:10Z","closed_at":null,"body":"How to debug the HTTP request?\r\n\r\nThe code\r\n```\r\ntry{\r\n\t...\t\r\n\r\n\t$proxy = new \\GoogleUrl\\SimpleProxy('domain.com', 8888);\r\n\t$page = $this->g->setPage(0)->search($query, $proxy);\r\n\t$positions = $page->getPositions();\r\n\techo \"search page with \".count($positions).\" results\\n\";\r\n\r\n\t...\r\n}\r\ncatch(\\GoogleUrl\\Exception $e){\r\n\t$error = $e->getMessage();\r\n\techo $error;\r\n}\r\n```"}}