{"action":"created","comment":{"url":"https://api.github.com/repos/opencaching/opencaching-pl/pulls/comments/245066997","pull_request_review_id":189099043,"id":245066997,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NTA2Njk5Nw==","diff_hunk":"@@ -44,7 +44,7 @@ public function dbResultFetch(PDOStatement $stmt = null, $fetchStyle = null)\n             }\n         }\n \n-        $this->error('', new PDOException(__METHOD__.': call PDOstatement issue!'));\n+        $this->error('Call PDOstatement issue!');","path":"Utils/Database/OcDb.php","position":5,"original_position":5,"commit_id":"5c0b661890f705a7bffe0b755fc04e87aa4ec3eb","original_commit_id":"5c0b661890f705a7bffe0b755fc04e87aa4ec3eb","user":{"login":"following5","id":1614754,"node_id":"MDQ6VXNlcjE2MTQ3NTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1614754?v=4","gravatar_id":"","url":"https://api.github.com/users/following5","html_url":"https://github.com/following5","followers_url":"https://api.github.com/users/following5/followers","following_url":"https://api.github.com/users/following5/following{/other_user}","gists_url":"https://api.github.com/users/following5/gists{/gist_id}","starred_url":"https://api.github.com/users/following5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/following5/subscriptions","organizations_url":"https://api.github.com/users/following5/orgs","repos_url":"https://api.github.com/users/following5/repos","events_url":"https://api.github.com/users/following5/events{/privacy}","received_events_url":"https://api.github.com/users/following5/received_events","type":"User","site_admin":false},"body":"Class::Method name will be included in backtrace.","created_at":"2019-01-03T17:04:55Z","updated_at":"2019-01-03T17:16:08Z","html_url":"https://github.com/opencaching/opencaching-pl/pull/1809#discussion_r245066997","pull_request_url":"https://api.github.com/repos/opencaching/opencaching-pl/pulls/1809","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/opencaching/opencaching-pl/pulls/comments/245066997"},"html":{"href":"https://github.com/opencaching/opencaching-pl/pull/1809#discussion_r245066997"},"pull_request":{"href":"https://api.github.com/repos/opencaching/opencaching-pl/pulls/1809"}}},"pull_request":{"url":"https://api.github.com/repos/opencaching/opencaching-pl/pulls/1809","id":242054751,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQyMDU0NzUx","html_url":"https://github.com/opencaching/opencaching-pl/pull/1809","diff_url":"https://github.com/opencaching/opencaching-pl/pull/1809.diff","patch_url":"https://github.com/opencaching/opencaching-pl/pull/1809.patch","issue_url":"https://api.github.com/repos/opencaching/opencaching-pl/issues/1809","number":1809,"state":"open","locked":false,"title":"Add global error handler; rebase PDO error handling on that","user":{"login":"following5","id":1614754,"node_id":"MDQ6VXNlcjE2MTQ3NTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1614754?v=4","gravatar_id":"","url":"https://api.github.com/users/following5","html_url":"https://github.com/following5","followers_url":"https://api.github.com/users/following5/followers","following_url":"https://api.github.com/users/following5/following{/other_user}","gists_url":"https://api.github.com/users/following5/gists{/gist_id}","starred_url":"https://api.github.com/users/following5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/following5/subscriptions","organizations_url":"https://api.github.com/users/following5/orgs","repos_url":"https://api.github.com/users/following5/repos","events_url":"https://api.github.com/users/following5/events{/privacy}","received_events_url":"https://api.github.com/users/following5/received_events","type":"User","site_admin":false},"body":"This implements error handling as proposed in https://github.com/opencaching/opencaching-pl/issues/1792#issuecomment-450436586. It will handle anything except PHP syntax errors (E_PARSE), which cannot be caught.","created_at":"2019-01-03T17:04:12Z","updated_at":"2019-01-03T17:16:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b40cc1d18017ab64dfecb8c3546cd3d704f038d0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/opencaching/opencaching-pl/pulls/1809/commits","review_comments_url":"https://api.github.com/repos/opencaching/opencaching-pl/pulls/1809/comments","review_comment_url":"https://api.github.com/repos/opencaching/opencaching-pl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opencaching/opencaching-pl/issues/1809/comments","statuses_url":"https://api.github.com/repos/opencaching/opencaching-pl/statuses/5c0b661890f705a7bffe0b755fc04e87aa4ec3eb","head":{"label":"following5:errorhandler","ref":"errorhandler","sha":"5c0b661890f705a7bffe0b755fc04e87aa4ec3eb","user":{"login":"following5","id":1614754,"node_id":"MDQ6VXNlcjE2MTQ3NTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1614754?v=4","gravatar_id":"","url":"https://api.github.com/users/following5","html_url":"https://github.com/following5","followers_url":"https://api.github.com/users/following5/followers","following_url":"https://api.github.com/users/following5/following{/other_user}","gists_url":"https://api.github.com/users/following5/gists{/gist_id}","starred_url":"https://api.github.com/users/following5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/following5/subscriptions","organizations_url":"https://api.github.com/users/following5/orgs","repos_url":"https://api.github.com/users/following5/repos","events_url":"https://api.github.com/users/following5/events{/privacy}","received_events_url":"https://api.github.com/users/following5/received_events","type":"User","site_admin":false},"repo":{"id":42244802,"node_id":"MDEwOlJlcG9zaXRvcnk0MjI0NDgwMg==","name":"opencaching-pl","full_name":"following5/opencaching-pl","private":false,"owner":{"login":"following5","id":1614754,"node_id":"MDQ6VXNlcjE2MTQ3NTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1614754?v=4","gravatar_id":"","url":"https://api.github.com/users/following5","html_url":"https://github.com/following5","followers_url":"https://api.github.com/users/following5/followers","following_url":"https://api.github.com/users/following5/following{/other_user}","gists_url":"https://api.github.com/users/following5/gists{/gist_id}","starred_url":"https://api.github.com/users/following5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/following5/subscriptions","organizations_url":"https://api.github.com/users/following5/orgs","repos_url":"https://api.github.com/users/following5/repos","events_url":"https://api.github.com/users/following5/events{/privacy}","received_events_url":"https://api.github.com/users/following5/received_events","type":"User","site_admin":false},"html_url":"https://github.com/following5/opencaching-pl","description":"The source code of Opencaching.PL (and some other domains)","fork":true,"url":"https://api.github.com/repos/following5/opencaching-pl","forks_url":"https://api.github.com/repos/following5/opencaching-pl/forks","keys_url":"https://api.github.com/repos/following5/opencaching-pl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/following5/opencaching-pl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/following5/opencaching-pl/teams","hooks_url":"https://api.github.com/repos/following5/opencaching-pl/hooks","issue_events_url":"https://api.github.com/repos/following5/opencaching-pl/issues/events{/number}","events_url":"https://api.github.com/repos/following5/opencaching-pl/events","assignees_url":"https://api.github.com/repos/following5/opencaching-pl/assignees{/user}","branches_url":"https://api.github.com/repos/following5/opencaching-pl/branches{/branch}","tags_url":"https://api.github.com/repos/following5/opencaching-pl/tags","blobs_url":"https://api.github.com/repos/following5/opencaching-pl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/following5/opencaching-pl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/following5/opencaching-pl/git/refs{/sha}","trees_url":"https://api.github.com/repos/following5/opencaching-pl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/following5/opencaching-pl/statuses/{sha}","languages_url":"https://api.github.com/repos/following5/opencaching-pl/languages","stargazers_url":"https://api.github.com/repos/following5/opencaching-pl/stargazers","contributors_url":"https://api.github.com/repos/following5/opencaching-pl/contributors","subscribers_url":"https://api.github.com/repos/following5/opencaching-pl/subscribers","subscription_url":"https://api.github.com/repos/following5/opencaching-pl/subscription","commits_url":"https://api.github.com/repos/following5/opencaching-pl/commits{/sha}","git_commits_url":"https://api.github.com/repos/following5/opencaching-pl/git/commits{/sha}","comments_url":"https://api.github.com/repos/following5/opencaching-pl/comments{/number}","issue_comment_url":"https://api.github.com/repos/following5/opencaching-pl/issues/comments{/number}","contents_url":"https://api.github.com/repos/following5/opencaching-pl/contents/{+path}","compare_url":"https://api.github.com/repos/following5/opencaching-pl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/following5/opencaching-pl/merges","archive_url":"https://api.github.com/repos/following5/opencaching-pl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/following5/opencaching-pl/downloads","issues_url":"https://api.github.com/repos/following5/opencaching-pl/issues{/number}","pulls_url":"https://api.github.com/repos/following5/opencaching-pl/pulls{/number}","milestones_url":"https://api.github.com/repos/following5/opencaching-pl/milestones{/number}","notifications_url":"https://api.github.com/repos/following5/opencaching-pl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/following5/opencaching-pl/labels{/name}","releases_url":"https://api.github.com/repos/following5/opencaching-pl/releases{/id}","deployments_url":"https://api.github.com/repos/following5/opencaching-pl/deployments","created_at":"2015-09-10T13:02:44Z","updated_at":"2018-12-22T22:23:20Z","pushed_at":"2019-01-03T16:57:35Z","git_url":"git://github.com/following5/opencaching-pl.git","ssh_url":"git@github.com:following5/opencaching-pl.git","clone_url":"https://github.com/following5/opencaching-pl.git","svn_url":"https://github.com/following5/opencaching-pl","homepage":"http://opencaching.pl/","size":152357,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"opencaching:master","ref":"master","sha":"475b84bb334e9f9439c886d23b64472cb2f7617c","user":{"login":"opencaching","id":13405646,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNDA1NjQ2","avatar_url":"https://avatars0.githubusercontent.com/u/13405646?v=4","gravatar_id":"","url":"https://api.github.com/users/opencaching","html_url":"https://github.com/opencaching","followers_url":"https://api.github.com/users/opencaching/followers","following_url":"https://api.github.com/users/opencaching/following{/other_user}","gists_url":"https://api.github.com/users/opencaching/gists{/gist_id}","starred_url":"https://api.github.com/users/opencaching/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opencaching/subscriptions","organizations_url":"https://api.github.com/users/opencaching/orgs","repos_url":"https://api.github.com/users/opencaching/repos","events_url":"https://api.github.com/users/opencaching/events{/privacy}","received_events_url":"https://api.github.com/users/opencaching/received_events","type":"Organization","site_admin":false},"repo":{"id":39498924,"node_id":"MDEwOlJlcG9zaXRvcnkzOTQ5ODkyNA==","name":"opencaching-pl","full_name":"opencaching/opencaching-pl","private":false,"owner":{"login":"opencaching","id":13405646,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNDA1NjQ2","avatar_url":"https://avatars0.githubusercontent.com/u/13405646?v=4","gravatar_id":"","url":"https://api.github.com/users/opencaching","html_url":"https://github.com/opencaching","followers_url":"https://api.github.com/users/opencaching/followers","following_url":"https://api.github.com/users/opencaching/following{/other_user}","gists_url":"https://api.github.com/users/opencaching/gists{/gist_id}","starred_url":"https://api.github.com/users/opencaching/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opencaching/subscriptions","organizations_url":"https://api.github.com/users/opencaching/orgs","repos_url":"https://api.github.com/users/opencaching/repos","events_url":"https://api.github.com/users/opencaching/events{/privacy}","received_events_url":"https://api.github.com/users/opencaching/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/opencaching/opencaching-pl","description":"The source code of Opencaching.PL (and some other domains)","fork":false,"url":"https://api.github.com/repos/opencaching/opencaching-pl","forks_url":"https://api.github.com/repos/opencaching/opencaching-pl/forks","keys_url":"https://api.github.com/repos/opencaching/opencaching-pl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opencaching/opencaching-pl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opencaching/opencaching-pl/teams","hooks_url":"https://api.github.com/repos/opencaching/opencaching-pl/hooks","issue_events_url":"https://api.github.com/repos/opencaching/opencaching-pl/issues/events{/number}","events_url":"https://api.github.com/repos/opencaching/opencaching-pl/events","assignees_url":"https://api.github.com/repos/opencaching/opencaching-pl/assignees{/user}","branches_url":"https://api.github.com/repos/opencaching/opencaching-pl/branches{/branch}","tags_url":"https://api.github.com/repos/opencaching/opencaching-pl/tags","blobs_url":"https://api.github.com/repos/opencaching/opencaching-pl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opencaching/opencaching-pl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opencaching/opencaching-pl/git/refs{/sha}","trees_url":"https://api.github.com/repos/opencaching/opencaching-pl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opencaching/opencaching-pl/statuses/{sha}","languages_url":"https://api.github.com/repos/opencaching/opencaching-pl/languages","stargazers_url":"https://api.github.com/repos/opencaching/opencaching-pl/stargazers","contributors_url":"https://api.github.com/repos/opencaching/opencaching-pl/contributors","subscribers_url":"https://api.github.com/repos/opencaching/opencaching-pl/subscribers","subscription_url":"https://api.github.com/repos/opencaching/opencaching-pl/subscription","commits_url":"https://api.github.com/repos/opencaching/opencaching-pl/commits{/sha}","git_commits_url":"https://api.github.com/repos/opencaching/opencaching-pl/git/commits{/sha}","comments_url":"https://api.github.com/repos/opencaching/opencaching-pl/comments{/number}","issue_comment_url":"https://api.github.com/repos/opencaching/opencaching-pl/issues/comments{/number}","contents_url":"https://api.github.com/repos/opencaching/opencaching-pl/contents/{+path}","compare_url":"https://api.github.com/repos/opencaching/opencaching-pl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opencaching/opencaching-pl/merges","archive_url":"https://api.github.com/repos/opencaching/opencaching-pl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opencaching/opencaching-pl/downloads","issues_url":"https://api.github.com/repos/opencaching/opencaching-pl/issues{/number}","pulls_url":"https://api.github.com/repos/opencaching/opencaching-pl/pulls{/number}","milestones_url":"https://api.github.com/repos/opencaching/opencaching-pl/milestones{/number}","notifications_url":"https://api.github.com/repos/opencaching/opencaching-pl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opencaching/opencaching-pl/labels{/name}","releases_url":"https://api.github.com/repos/opencaching/opencaching-pl/releases{/id}","deployments_url":"https://api.github.com/repos/opencaching/opencaching-pl/deployments","created_at":"2015-07-22T09:59:54Z","updated_at":"2019-01-02T23:11:45Z","pushed_at":"2019-01-03T17:04:12Z","git_url":"git://github.com/opencaching/opencaching-pl.git","ssh_url":"git@github.com:opencaching/opencaching-pl.git","clone_url":"https://github.com/opencaching/opencaching-pl.git","svn_url":"https://github.com/opencaching/opencaching-pl","homepage":"https://opencaching.pl/","size":152273,"stargazers_count":12,"watchers_count":12,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"archived":false,"open_issues_count":298,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":27,"open_issues":298,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/opencaching/opencaching-pl/pulls/1809"},"html":{"href":"https://github.com/opencaching/opencaching-pl/pull/1809"},"issue":{"href":"https://api.github.com/repos/opencaching/opencaching-pl/issues/1809"},"comments":{"href":"https://api.github.com/repos/opencaching/opencaching-pl/issues/1809/comments"},"review_comments":{"href":"https://api.github.com/repos/opencaching/opencaching-pl/pulls/1809/comments"},"review_comment":{"href":"https://api.github.com/repos/opencaching/opencaching-pl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opencaching/opencaching-pl/pulls/1809/commits"},"statuses":{"href":"https://api.github.com/repos/opencaching/opencaching-pl/statuses/5c0b661890f705a7bffe0b755fc04e87aa4ec3eb"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"following5"}}