{"action":"created","issue":{"url":"https://api.github.com/repos/swarrot/swarrot/issues/129","repository_url":"https://api.github.com/repos/swarrot/swarrot","labels_url":"https://api.github.com/repos/swarrot/swarrot/issues/129/labels{/name}","comments_url":"https://api.github.com/repos/swarrot/swarrot/issues/129/comments","events_url":"https://api.github.com/repos/swarrot/swarrot/issues/129/events","html_url":"https://github.com/swarrot/swarrot/pull/129","id":157516487,"number":129,"title":"Catch PHP7 Throwable","user":{"login":"MattKetmo","id":334996,"avatar_url":"https://avatars.githubusercontent.com/u/334996?v=3","gravatar_id":"","url":"https://api.github.com/users/MattKetmo","html_url":"https://github.com/MattKetmo","followers_url":"https://api.github.com/users/MattKetmo/followers","following_url":"https://api.github.com/users/MattKetmo/following{/other_user}","gists_url":"https://api.github.com/users/MattKetmo/gists{/gist_id}","starred_url":"https://api.github.com/users/MattKetmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MattKetmo/subscriptions","organizations_url":"https://api.github.com/users/MattKetmo/orgs","repos_url":"https://api.github.com/users/MattKetmo/repos","events_url":"https://api.github.com/users/MattKetmo/events{/privacy}","received_events_url":"https://api.github.com/users/MattKetmo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-30T14:47:11Z","updated_at":"2016-05-31T14:22:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/swarrot/swarrot/pulls/129","html_url":"https://github.com/swarrot/swarrot/pull/129","diff_url":"https://github.com/swarrot/swarrot/pull/129.diff","patch_url":"https://github.com/swarrot/swarrot/pull/129.patch"},"body":"Catching Throwable helps to catch a larger range of errors since PHP 7 (and avoid a worker to break while it's running).\r\n\r\nHere I duplicated the `catch \\Exception` block in order to keep the compatibility with PHP 5.\r\n\r\nNote that this logic must be applied in other places:\r\n- AckProcessor\r\n- InstantRetryProcessor\r\n- NewRelicProcessor\r\n- RetryProcessor (need merging #113 first)"},"comment":{"url":"https://api.github.com/repos/swarrot/swarrot/issues/comments/222703960","html_url":"https://github.com/swarrot/swarrot/pull/129#issuecomment-222703960","issue_url":"https://api.github.com/repos/swarrot/swarrot/issues/129","id":222703960,"user":{"login":"MattKetmo","id":334996,"avatar_url":"https://avatars.githubusercontent.com/u/334996?v=3","gravatar_id":"","url":"https://api.github.com/users/MattKetmo","html_url":"https://github.com/MattKetmo","followers_url":"https://api.github.com/users/MattKetmo/followers","following_url":"https://api.github.com/users/MattKetmo/following{/other_user}","gists_url":"https://api.github.com/users/MattKetmo/gists{/gist_id}","starred_url":"https://api.github.com/users/MattKetmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MattKetmo/subscriptions","organizations_url":"https://api.github.com/users/MattKetmo/orgs","repos_url":"https://api.github.com/users/MattKetmo/repos","events_url":"https://api.github.com/users/MattKetmo/events{/privacy}","received_events_url":"https://api.github.com/users/MattKetmo/received_events","type":"User","site_admin":false},"created_at":"2016-05-31T14:22:37Z","updated_at":"2016-05-31T14:22:37Z","body":"I've cleaned up a bit the composer.json (replace `~` with `^` and switch to PSR-4). Feel free to keep the commit or remove it ;)"}}
{"actor":{"display_login":"MattKetmo"}}