{"action":"created","comment":{"url":"https://api.github.com/repos/rollbar/rollbar-php/pulls/comments/59543952","id":59543952,"diff_hunk":"@@ -237,6 +268,35 @@ public function queueSize() {\n     }\n \n     /**\n+     * Run the checkIgnore function and determine whether to send the Exception to the API or not.\n+     *\n+     * @param  bool             $isUncaught\n+     * @param  RollbarException $caller_args [level, message, err, custom]\n+     * @param  array            $payload     Data being sent to the API\n+     * @return bool\n+     */\n+    protected function _shouldIgnore($isUncaught, RollbarException $caller_args, array $payload)\n+    {\n+        try {\n+            if (is_callable($this->checkIgnore)\n+                && call_user_func_array($this->checkIgnore, array($isUncaught,$caller_args,$payload))","path":"src/rollbar.php","position":69,"original_position":69,"commit_id":"9f22ba5a97d1d3384a0d49d2cfeb8ed6651185ad","original_commit_id":"9f22ba5a97d1d3384a0d49d2cfeb8ed6651185ad","user":{"login":"Crisfole","id":413237,"avatar_url":"https://avatars.githubusercontent.com/u/413237?v=3","gravatar_id":"","url":"https://api.github.com/users/Crisfole","html_url":"https://github.com/Crisfole","followers_url":"https://api.github.com/users/Crisfole/followers","following_url":"https://api.github.com/users/Crisfole/following{/other_user}","gists_url":"https://api.github.com/users/Crisfole/gists{/gist_id}","starred_url":"https://api.github.com/users/Crisfole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Crisfole/subscriptions","organizations_url":"https://api.github.com/users/Crisfole/orgs","repos_url":"https://api.github.com/users/Crisfole/repos","events_url":"https://api.github.com/users/Crisfole/events{/privacy}","received_events_url":"https://api.github.com/users/Crisfole/received_events","type":"User","site_admin":false},"body":"Hm. So `RollbarException` seems to be duplicating a lot of stuff that's already present in `$payload`. Is there a notable difference?","created_at":"2016-04-13T13:08:46Z","updated_at":"2016-04-13T13:08:46Z","html_url":"https://github.com/rollbar/rollbar-php/pull/82#discussion_r59543952","pull_request_url":"https://api.github.com/repos/rollbar/rollbar-php/pulls/82","_links":{"self":{"href":"https://api.github.com/repos/rollbar/rollbar-php/pulls/comments/59543952"},"html":{"href":"https://github.com/rollbar/rollbar-php/pull/82#discussion_r59543952"},"pull_request":{"href":"https://api.github.com/repos/rollbar/rollbar-php/pulls/82"}}},"pull_request":{"url":"https://api.github.com/repos/rollbar/rollbar-php/pulls/82","id":66219852,"html_url":"https://github.com/rollbar/rollbar-php/pull/82","diff_url":"https://github.com/rollbar/rollbar-php/pull/82.diff","patch_url":"https://github.com/rollbar/rollbar-php/pull/82.patch","issue_url":"https://api.github.com/repos/rollbar/rollbar-php/issues/82","number":82,"state":"open","locked":false,"title":"Added checkIgnore config option. (#45)","user":{"login":"bytestream","id":1788397,"avatar_url":"https://avatars.githubusercontent.com/u/1788397?v=3","gravatar_id":"","url":"https://api.github.com/users/bytestream","html_url":"https://github.com/bytestream","followers_url":"https://api.github.com/users/bytestream/followers","following_url":"https://api.github.com/users/bytestream/following{/other_user}","gists_url":"https://api.github.com/users/bytestream/gists{/gist_id}","starred_url":"https://api.github.com/users/bytestream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bytestream/subscriptions","organizations_url":"https://api.github.com/users/bytestream/orgs","repos_url":"https://api.github.com/users/bytestream/repos","events_url":"https://api.github.com/users/bytestream/events{/privacy}","received_events_url":"https://api.github.com/users/bytestream/received_events","type":"User","site_admin":false},"body":"Copied over the [checkIgnore](https://rollbar.com/docs/filter-or-ignore-errors-from-bots/) functionality from https://github.com/rollbar/rollbar.js/blob/a072cb78a9056ebded63879e6eec473d6ff1752d/release/rollbar-1.8.5.js\r\n","created_at":"2016-04-12T20:11:22Z","updated_at":"2016-04-13T13:08:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"53f14365c58e6be21a47dc15f49840ca570fce86","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rollbar/rollbar-php/pulls/82/commits","review_comments_url":"https://api.github.com/repos/rollbar/rollbar-php/pulls/82/comments","review_comment_url":"https://api.github.com/repos/rollbar/rollbar-php/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rollbar/rollbar-php/issues/82/comments","statuses_url":"https://api.github.com/repos/rollbar/rollbar-php/statuses/9f22ba5a97d1d3384a0d49d2cfeb8ed6651185ad","head":{"label":"bytestream:feature_check-ignore","ref":"feature_check-ignore","sha":"9f22ba5a97d1d3384a0d49d2cfeb8ed6651185ad","user":{"login":"bytestream","id":1788397,"avatar_url":"https://avatars.githubusercontent.com/u/1788397?v=3","gravatar_id":"","url":"https://api.github.com/users/bytestream","html_url":"https://github.com/bytestream","followers_url":"https://api.github.com/users/bytestream/followers","following_url":"https://api.github.com/users/bytestream/following{/other_user}","gists_url":"https://api.github.com/users/bytestream/gists{/gist_id}","starred_url":"https://api.github.com/users/bytestream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bytestream/subscriptions","organizations_url":"https://api.github.com/users/bytestream/orgs","repos_url":"https://api.github.com/users/bytestream/repos","events_url":"https://api.github.com/users/bytestream/events{/privacy}","received_events_url":"https://api.github.com/users/bytestream/received_events","type":"User","site_admin":false},"repo":{"id":56077266,"name":"rollbar-php","full_name":"bytestream/rollbar-php","owner":{"login":"bytestream","id":1788397,"avatar_url":"https://avatars.githubusercontent.com/u/1788397?v=3","gravatar_id":"","url":"https://api.github.com/users/bytestream","html_url":"https://github.com/bytestream","followers_url":"https://api.github.com/users/bytestream/followers","following_url":"https://api.github.com/users/bytestream/following{/other_user}","gists_url":"https://api.github.com/users/bytestream/gists{/gist_id}","starred_url":"https://api.github.com/users/bytestream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bytestream/subscriptions","organizations_url":"https://api.github.com/users/bytestream/orgs","repos_url":"https://api.github.com/users/bytestream/repos","events_url":"https://api.github.com/users/bytestream/events{/privacy}","received_events_url":"https://api.github.com/users/bytestream/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bytestream/rollbar-php","description":"Error tracking and logging from PHP to Rollbar","fork":true,"url":"https://api.github.com/repos/bytestream/rollbar-php","forks_url":"https://api.github.com/repos/bytestream/rollbar-php/forks","keys_url":"https://api.github.com/repos/bytestream/rollbar-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bytestream/rollbar-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bytestream/rollbar-php/teams","hooks_url":"https://api.github.com/repos/bytestream/rollbar-php/hooks","issue_events_url":"https://api.github.com/repos/bytestream/rollbar-php/issues/events{/number}","events_url":"https://api.github.com/repos/bytestream/rollbar-php/events","assignees_url":"https://api.github.com/repos/bytestream/rollbar-php/assignees{/user}","branches_url":"https://api.github.com/repos/bytestream/rollbar-php/branches{/branch}","tags_url":"https://api.github.com/repos/bytestream/rollbar-php/tags","blobs_url":"https://api.github.com/repos/bytestream/rollbar-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bytestream/rollbar-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bytestream/rollbar-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/bytestream/rollbar-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bytestream/rollbar-php/statuses/{sha}","languages_url":"https://api.github.com/repos/bytestream/rollbar-php/languages","stargazers_url":"https://api.github.com/repos/bytestream/rollbar-php/stargazers","contributors_url":"https://api.github.com/repos/bytestream/rollbar-php/contributors","subscribers_url":"https://api.github.com/repos/bytestream/rollbar-php/subscribers","subscription_url":"https://api.github.com/repos/bytestream/rollbar-php/subscription","commits_url":"https://api.github.com/repos/bytestream/rollbar-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/bytestream/rollbar-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/bytestream/rollbar-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/bytestream/rollbar-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/bytestream/rollbar-php/contents/{+path}","compare_url":"https://api.github.com/repos/bytestream/rollbar-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bytestream/rollbar-php/merges","archive_url":"https://api.github.com/repos/bytestream/rollbar-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bytestream/rollbar-php/downloads","issues_url":"https://api.github.com/repos/bytestream/rollbar-php/issues{/number}","pulls_url":"https://api.github.com/repos/bytestream/rollbar-php/pulls{/number}","milestones_url":"https://api.github.com/repos/bytestream/rollbar-php/milestones{/number}","notifications_url":"https://api.github.com/repos/bytestream/rollbar-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bytestream/rollbar-php/labels{/name}","releases_url":"https://api.github.com/repos/bytestream/rollbar-php/releases{/id}","deployments_url":"https://api.github.com/repos/bytestream/rollbar-php/deployments","created_at":"2016-04-12T15:53:55Z","updated_at":"2016-04-12T15:53:55Z","pushed_at":"2016-04-13T11:12:26Z","git_url":"git://github.com/bytestream/rollbar-php.git","ssh_url":"git@github.com:bytestream/rollbar-php.git","clone_url":"https://github.com/bytestream/rollbar-php.git","svn_url":"https://github.com/bytestream/rollbar-php","homepage":"https://rollbar.com/docs/notifier/rollbar-php/","size":210,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rollbar:master","ref":"master","sha":"f048273e24339d63a7c3e8f51385f75b9833f328","user":{"login":"rollbar","id":3219584,"avatar_url":"https://avatars.githubusercontent.com/u/3219584?v=3","gravatar_id":"","url":"https://api.github.com/users/rollbar","html_url":"https://github.com/rollbar","followers_url":"https://api.github.com/users/rollbar/followers","following_url":"https://api.github.com/users/rollbar/following{/other_user}","gists_url":"https://api.github.com/users/rollbar/gists{/gist_id}","starred_url":"https://api.github.com/users/rollbar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rollbar/subscriptions","organizations_url":"https://api.github.com/users/rollbar/orgs","repos_url":"https://api.github.com/users/rollbar/repos","events_url":"https://api.github.com/users/rollbar/events{/privacy}","received_events_url":"https://api.github.com/users/rollbar/received_events","type":"Organization","site_admin":false},"repo":{"id":5591043,"name":"rollbar-php","full_name":"rollbar/rollbar-php","owner":{"login":"rollbar","id":3219584,"avatar_url":"https://avatars.githubusercontent.com/u/3219584?v=3","gravatar_id":"","url":"https://api.github.com/users/rollbar","html_url":"https://github.com/rollbar","followers_url":"https://api.github.com/users/rollbar/followers","following_url":"https://api.github.com/users/rollbar/following{/other_user}","gists_url":"https://api.github.com/users/rollbar/gists{/gist_id}","starred_url":"https://api.github.com/users/rollbar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rollbar/subscriptions","organizations_url":"https://api.github.com/users/rollbar/orgs","repos_url":"https://api.github.com/users/rollbar/repos","events_url":"https://api.github.com/users/rollbar/events{/privacy}","received_events_url":"https://api.github.com/users/rollbar/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rollbar/rollbar-php","description":"Error tracking and logging from PHP to Rollbar","fork":false,"url":"https://api.github.com/repos/rollbar/rollbar-php","forks_url":"https://api.github.com/repos/rollbar/rollbar-php/forks","keys_url":"https://api.github.com/repos/rollbar/rollbar-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rollbar/rollbar-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rollbar/rollbar-php/teams","hooks_url":"https://api.github.com/repos/rollbar/rollbar-php/hooks","issue_events_url":"https://api.github.com/repos/rollbar/rollbar-php/issues/events{/number}","events_url":"https://api.github.com/repos/rollbar/rollbar-php/events","assignees_url":"https://api.github.com/repos/rollbar/rollbar-php/assignees{/user}","branches_url":"https://api.github.com/repos/rollbar/rollbar-php/branches{/branch}","tags_url":"https://api.github.com/repos/rollbar/rollbar-php/tags","blobs_url":"https://api.github.com/repos/rollbar/rollbar-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rollbar/rollbar-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rollbar/rollbar-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/rollbar/rollbar-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rollbar/rollbar-php/statuses/{sha}","languages_url":"https://api.github.com/repos/rollbar/rollbar-php/languages","stargazers_url":"https://api.github.com/repos/rollbar/rollbar-php/stargazers","contributors_url":"https://api.github.com/repos/rollbar/rollbar-php/contributors","subscribers_url":"https://api.github.com/repos/rollbar/rollbar-php/subscribers","subscription_url":"https://api.github.com/repos/rollbar/rollbar-php/subscription","commits_url":"https://api.github.com/repos/rollbar/rollbar-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/rollbar/rollbar-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/rollbar/rollbar-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/rollbar/rollbar-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/rollbar/rollbar-php/contents/{+path}","compare_url":"https://api.github.com/repos/rollbar/rollbar-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rollbar/rollbar-php/merges","archive_url":"https://api.github.com/repos/rollbar/rollbar-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rollbar/rollbar-php/downloads","issues_url":"https://api.github.com/repos/rollbar/rollbar-php/issues{/number}","pulls_url":"https://api.github.com/repos/rollbar/rollbar-php/pulls{/number}","milestones_url":"https://api.github.com/repos/rollbar/rollbar-php/milestones{/number}","notifications_url":"https://api.github.com/repos/rollbar/rollbar-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rollbar/rollbar-php/labels{/name}","releases_url":"https://api.github.com/repos/rollbar/rollbar-php/releases{/id}","deployments_url":"https://api.github.com/repos/rollbar/rollbar-php/deployments","created_at":"2012-08-28T19:39:28Z","updated_at":"2016-04-12T20:07:18Z","pushed_at":"2016-04-13T11:12:26Z","git_url":"git://github.com/rollbar/rollbar-php.git","ssh_url":"git@github.com:rollbar/rollbar-php.git","clone_url":"https://github.com/rollbar/rollbar-php.git","svn_url":"https://github.com/rollbar/rollbar-php","homepage":"https://rollbar.com/docs/notifier/rollbar-php/","size":226,"stargazers_count":64,"watchers_count":64,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":43,"mirror_url":null,"open_issues_count":24,"forks":43,"open_issues":24,"watchers":64,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rollbar/rollbar-php/pulls/82"},"html":{"href":"https://github.com/rollbar/rollbar-php/pull/82"},"issue":{"href":"https://api.github.com/repos/rollbar/rollbar-php/issues/82"},"comments":{"href":"https://api.github.com/repos/rollbar/rollbar-php/issues/82/comments"},"review_comments":{"href":"https://api.github.com/repos/rollbar/rollbar-php/pulls/82/comments"},"review_comment":{"href":"https://api.github.com/repos/rollbar/rollbar-php/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rollbar/rollbar-php/pulls/82/commits"},"statuses":{"href":"https://api.github.com/repos/rollbar/rollbar-php/statuses/9f22ba5a97d1d3384a0d49d2cfeb8ed6651185ad"}}}}