{"action":"created","issue":{"url":"https://api.github.com/repos/mailgun/mailgun-php/issues/111","repository_url":"https://api.github.com/repos/mailgun/mailgun-php","labels_url":"https://api.github.com/repos/mailgun/mailgun-php/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/mailgun/mailgun-php/issues/111/comments","events_url":"https://api.github.com/repos/mailgun/mailgun-php/issues/111/events","html_url":"https://github.com/mailgun/mailgun-php/issues/111","id":143467066,"number":111,"title":"Feature Request: Better error support","user":{"login":"andrebruton","id":2156268,"avatar_url":"https://avatars.githubusercontent.com/u/2156268?v=3","gravatar_id":"","url":"https://api.github.com/users/andrebruton","html_url":"https://github.com/andrebruton","followers_url":"https://api.github.com/users/andrebruton/followers","following_url":"https://api.github.com/users/andrebruton/following{/other_user}","gists_url":"https://api.github.com/users/andrebruton/gists{/gist_id}","starred_url":"https://api.github.com/users/andrebruton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrebruton/subscriptions","organizations_url":"https://api.github.com/users/andrebruton/orgs","repos_url":"https://api.github.com/users/andrebruton/repos","events_url":"https://api.github.com/users/andrebruton/events{/privacy}","received_events_url":"https://api.github.com/users/andrebruton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-03-25T09:48:03Z","updated_at":"2016-07-24T15:18:13Z","closed_at":null,"body":"I'd like to see better error support. When an email is delivered to Mailgun it responds with code 200. If some errors occur (like wrong endpoint etc) I get a fatal error instead of an error message being returned.\r\n\r\nAt the moment this makes it difficult to use Mailgun in a production environment."},"comment":{"url":"https://api.github.com/repos/mailgun/mailgun-php/issues/comments/234782825","html_url":"https://github.com/mailgun/mailgun-php/issues/111#issuecomment-234782825","issue_url":"https://api.github.com/repos/mailgun/mailgun-php/issues/111","id":234782825,"user":{"login":"Sam-Butler","id":6860127,"avatar_url":"https://avatars.githubusercontent.com/u/6860127?v=3","gravatar_id":"","url":"https://api.github.com/users/Sam-Butler","html_url":"https://github.com/Sam-Butler","followers_url":"https://api.github.com/users/Sam-Butler/followers","following_url":"https://api.github.com/users/Sam-Butler/following{/other_user}","gists_url":"https://api.github.com/users/Sam-Butler/gists{/gist_id}","starred_url":"https://api.github.com/users/Sam-Butler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sam-Butler/subscriptions","organizations_url":"https://api.github.com/users/Sam-Butler/orgs","repos_url":"https://api.github.com/users/Sam-Butler/repos","events_url":"https://api.github.com/users/Sam-Butler/events{/privacy}","received_events_url":"https://api.github.com/users/Sam-Butler/received_events","type":"User","site_admin":false},"created_at":"2016-07-24T15:18:13Z","updated_at":"2016-07-24T15:18:13Z","body":"Hi David, you answered another post I made regarding this, wherein I mentioned I had already used a try...catch block, and it was superseded by the error output.\r\n\r\nI was able to use Httpful to issue the requests directly to the API without using this library, and they were successful."}}
{"actor":{"display_login":"Sam-Butler"}}