{"action":"created","comment":{"url":"https://api.github.com/repos/phpbench/phpbench/pulls/comments/48437301","id":48437301,"diff_hunk":"@@ -45,6 +45,25 @@ public function startSuite(SuiteDocument $suiteDocument)\n \n     public function endSuite(SuiteDocument $suiteDocument)\n     {\n+        $errorsEls = $suiteDocument->query('//errors');\n+\n+        if ($errorsEls->length) {\n+            $this->output->write(PHP_EOL);\n+            $this->output->writeln(sprintf('%d subjects encountered errors:', $errorsEls->length));\n+            $this->output->write(PHP_EOL);\n+            foreach ($errorsEls as $errorsEl) {\n+                $name = $errorsEl->evaluate('concat(ancestor::benchmark/@class, \"::\", ancestor::subject/@name)');\n+                $this->output->writeln(sprintf('<error>%s</error>', $name));\n+                $this->output->write(PHP_EOL);\n+                foreach ($errorsEl->query('./error') as $errorEl) {\n+                    $this->output->writeln(sprintf(\n+                        \"    %s %s\",\n+                        $errorEl->getAttribute('exception-class'),\n+                        str_replace(\"\\n\", \"\\n    \", $errorEl->nodeValue)\n+                    ));\n+                }\n+            }\n+        }\n         $this->output->writeln(sprintf(","path":"lib/Progress/Logger/PhpBenchLogger.php","position":23,"original_position":23,"commit_id":"e6c3302fb464f9cabae602104fb9c52cf7dd496c","original_commit_id":"e6c3302fb464f9cabae602104fb9c52cf7dd496c","user":{"login":"dantleech","id":530801,"avatar_url":"https://avatars.githubusercontent.com/u/530801?v=3","gravatar_id":"","url":"https://api.github.com/users/dantleech","html_url":"https://github.com/dantleech","followers_url":"https://api.github.com/users/dantleech/followers","following_url":"https://api.github.com/users/dantleech/following{/other_user}","gists_url":"https://api.github.com/users/dantleech/gists{/gist_id}","starred_url":"https://api.github.com/users/dantleech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dantleech/subscriptions","organizations_url":"https://api.github.com/users/dantleech/orgs","repos_url":"https://api.github.com/users/dantleech/repos","events_url":"https://api.github.com/users/dantleech/events{/privacy}","received_events_url":"https://api.github.com/users/dantleech/received_events","type":"User","site_admin":false},"body":"Add blank line","created_at":"2015-12-25T09:56:06Z","updated_at":"2015-12-25T09:56:06Z","html_url":"https://github.com/phpbench/phpbench/pull/250#discussion_r48437301","pull_request_url":"https://api.github.com/repos/phpbench/phpbench/pulls/250","_links":{"self":{"href":"https://api.github.com/repos/phpbench/phpbench/pulls/comments/48437301"},"html":{"href":"https://github.com/phpbench/phpbench/pull/250#discussion_r48437301"},"pull_request":{"href":"https://api.github.com/repos/phpbench/phpbench/pulls/250"}}},"pull_request":{"url":"https://api.github.com/repos/phpbench/phpbench/pulls/250","id":54545473,"html_url":"https://github.com/phpbench/phpbench/pull/250","diff_url":"https://github.com/phpbench/phpbench/pull/250.diff","patch_url":"https://github.com/phpbench/phpbench/pull/250.patch","issue_url":"https://api.github.com/repos/phpbench/phpbench/issues/250","number":250,"state":"open","locked":false,"title":"Error handling","user":{"login":"dantleech","id":530801,"avatar_url":"https://avatars.githubusercontent.com/u/530801?v=3","gravatar_id":"","url":"https://api.github.com/users/dantleech","html_url":"https://github.com/dantleech","followers_url":"https://api.github.com/users/dantleech/followers","following_url":"https://api.github.com/users/dantleech/following{/other_user}","gists_url":"https://api.github.com/users/dantleech/gists{/gist_id}","starred_url":"https://api.github.com/users/dantleech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dantleech/subscriptions","organizations_url":"https://api.github.com/users/dantleech/orgs","repos_url":"https://api.github.com/users/dantleech/repos","events_url":"https://api.github.com/users/dantleech/events{/privacy}","received_events_url":"https://api.github.com/users/dantleech/received_events","type":"User","site_admin":false},"body":"Support for handling errors.","created_at":"2015-12-24T11:24:01Z","updated_at":"2015-12-25T09:56:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"712548ea1a24d9dd73d19e52c1e45dc284cec745","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/phpbench/phpbench/pulls/250/commits","review_comments_url":"https://api.github.com/repos/phpbench/phpbench/pulls/250/comments","review_comment_url":"https://api.github.com/repos/phpbench/phpbench/pulls/comments{/number}","comments_url":"https://api.github.com/repos/phpbench/phpbench/issues/250/comments","statuses_url":"https://api.github.com/repos/phpbench/phpbench/statuses/e6c3302fb464f9cabae602104fb9c52cf7dd496c","head":{"label":"phpbench:error_handling","ref":"error_handling","sha":"e6c3302fb464f9cabae602104fb9c52cf7dd496c","user":{"login":"phpbench","id":12785153,"avatar_url":"https://avatars.githubusercontent.com/u/12785153?v=3","gravatar_id":"","url":"https://api.github.com/users/phpbench","html_url":"https://github.com/phpbench","followers_url":"https://api.github.com/users/phpbench/followers","following_url":"https://api.github.com/users/phpbench/following{/other_user}","gists_url":"https://api.github.com/users/phpbench/gists{/gist_id}","starred_url":"https://api.github.com/users/phpbench/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpbench/subscriptions","organizations_url":"https://api.github.com/users/phpbench/orgs","repos_url":"https://api.github.com/users/phpbench/repos","events_url":"https://api.github.com/users/phpbench/events{/privacy}","received_events_url":"https://api.github.com/users/phpbench/received_events","type":"Organization","site_admin":false},"repo":{"id":34982189,"name":"phpbench","full_name":"phpbench/phpbench","owner":{"login":"phpbench","id":12785153,"avatar_url":"https://avatars.githubusercontent.com/u/12785153?v=3","gravatar_id":"","url":"https://api.github.com/users/phpbench","html_url":"https://github.com/phpbench","followers_url":"https://api.github.com/users/phpbench/followers","following_url":"https://api.github.com/users/phpbench/following{/other_user}","gists_url":"https://api.github.com/users/phpbench/gists{/gist_id}","starred_url":"https://api.github.com/users/phpbench/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpbench/subscriptions","organizations_url":"https://api.github.com/users/phpbench/orgs","repos_url":"https://api.github.com/users/phpbench/repos","events_url":"https://api.github.com/users/phpbench/events{/privacy}","received_events_url":"https://api.github.com/users/phpbench/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/phpbench/phpbench","description":"PHP Benchmarking framework","fork":false,"url":"https://api.github.com/repos/phpbench/phpbench","forks_url":"https://api.github.com/repos/phpbench/phpbench/forks","keys_url":"https://api.github.com/repos/phpbench/phpbench/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phpbench/phpbench/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phpbench/phpbench/teams","hooks_url":"https://api.github.com/repos/phpbench/phpbench/hooks","issue_events_url":"https://api.github.com/repos/phpbench/phpbench/issues/events{/number}","events_url":"https://api.github.com/repos/phpbench/phpbench/events","assignees_url":"https://api.github.com/repos/phpbench/phpbench/assignees{/user}","branches_url":"https://api.github.com/repos/phpbench/phpbench/branches{/branch}","tags_url":"https://api.github.com/repos/phpbench/phpbench/tags","blobs_url":"https://api.github.com/repos/phpbench/phpbench/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phpbench/phpbench/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phpbench/phpbench/git/refs{/sha}","trees_url":"https://api.github.com/repos/phpbench/phpbench/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phpbench/phpbench/statuses/{sha}","languages_url":"https://api.github.com/repos/phpbench/phpbench/languages","stargazers_url":"https://api.github.com/repos/phpbench/phpbench/stargazers","contributors_url":"https://api.github.com/repos/phpbench/phpbench/contributors","subscribers_url":"https://api.github.com/repos/phpbench/phpbench/subscribers","subscription_url":"https://api.github.com/repos/phpbench/phpbench/subscription","commits_url":"https://api.github.com/repos/phpbench/phpbench/commits{/sha}","git_commits_url":"https://api.github.com/repos/phpbench/phpbench/git/commits{/sha}","comments_url":"https://api.github.com/repos/phpbench/phpbench/comments{/number}","issue_comment_url":"https://api.github.com/repos/phpbench/phpbench/issues/comments{/number}","contents_url":"https://api.github.com/repos/phpbench/phpbench/contents/{+path}","compare_url":"https://api.github.com/repos/phpbench/phpbench/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phpbench/phpbench/merges","archive_url":"https://api.github.com/repos/phpbench/phpbench/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phpbench/phpbench/downloads","issues_url":"https://api.github.com/repos/phpbench/phpbench/issues{/number}","pulls_url":"https://api.github.com/repos/phpbench/phpbench/pulls{/number}","milestones_url":"https://api.github.com/repos/phpbench/phpbench/milestones{/number}","notifications_url":"https://api.github.com/repos/phpbench/phpbench/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phpbench/phpbench/labels{/name}","releases_url":"https://api.github.com/repos/phpbench/phpbench/releases{/id}","created_at":"2015-05-03T10:34:08Z","updated_at":"2015-12-22T10:25:22Z","pushed_at":"2015-12-25T09:54:11Z","git_url":"git://github.com/phpbench/phpbench.git","ssh_url":"git@github.com:phpbench/phpbench.git","clone_url":"https://github.com/phpbench/phpbench.git","svn_url":"https://github.com/phpbench/phpbench","homepage":null,"size":1050,"stargazers_count":242,"watchers_count":242,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":27,"forks":7,"open_issues":27,"watchers":242,"default_branch":"master"}},"base":{"label":"phpbench:master","ref":"master","sha":"caecf692f01613252af94f75b3b50f9c3e3aa987","user":{"login":"phpbench","id":12785153,"avatar_url":"https://avatars.githubusercontent.com/u/12785153?v=3","gravatar_id":"","url":"https://api.github.com/users/phpbench","html_url":"https://github.com/phpbench","followers_url":"https://api.github.com/users/phpbench/followers","following_url":"https://api.github.com/users/phpbench/following{/other_user}","gists_url":"https://api.github.com/users/phpbench/gists{/gist_id}","starred_url":"https://api.github.com/users/phpbench/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpbench/subscriptions","organizations_url":"https://api.github.com/users/phpbench/orgs","repos_url":"https://api.github.com/users/phpbench/repos","events_url":"https://api.github.com/users/phpbench/events{/privacy}","received_events_url":"https://api.github.com/users/phpbench/received_events","type":"Organization","site_admin":false},"repo":{"id":34982189,"name":"phpbench","full_name":"phpbench/phpbench","owner":{"login":"phpbench","id":12785153,"avatar_url":"https://avatars.githubusercontent.com/u/12785153?v=3","gravatar_id":"","url":"https://api.github.com/users/phpbench","html_url":"https://github.com/phpbench","followers_url":"https://api.github.com/users/phpbench/followers","following_url":"https://api.github.com/users/phpbench/following{/other_user}","gists_url":"https://api.github.com/users/phpbench/gists{/gist_id}","starred_url":"https://api.github.com/users/phpbench/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpbench/subscriptions","organizations_url":"https://api.github.com/users/phpbench/orgs","repos_url":"https://api.github.com/users/phpbench/repos","events_url":"https://api.github.com/users/phpbench/events{/privacy}","received_events_url":"https://api.github.com/users/phpbench/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/phpbench/phpbench","description":"PHP Benchmarking framework","fork":false,"url":"https://api.github.com/repos/phpbench/phpbench","forks_url":"https://api.github.com/repos/phpbench/phpbench/forks","keys_url":"https://api.github.com/repos/phpbench/phpbench/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phpbench/phpbench/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phpbench/phpbench/teams","hooks_url":"https://api.github.com/repos/phpbench/phpbench/hooks","issue_events_url":"https://api.github.com/repos/phpbench/phpbench/issues/events{/number}","events_url":"https://api.github.com/repos/phpbench/phpbench/events","assignees_url":"https://api.github.com/repos/phpbench/phpbench/assignees{/user}","branches_url":"https://api.github.com/repos/phpbench/phpbench/branches{/branch}","tags_url":"https://api.github.com/repos/phpbench/phpbench/tags","blobs_url":"https://api.github.com/repos/phpbench/phpbench/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phpbench/phpbench/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phpbench/phpbench/git/refs{/sha}","trees_url":"https://api.github.com/repos/phpbench/phpbench/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phpbench/phpbench/statuses/{sha}","languages_url":"https://api.github.com/repos/phpbench/phpbench/languages","stargazers_url":"https://api.github.com/repos/phpbench/phpbench/stargazers","contributors_url":"https://api.github.com/repos/phpbench/phpbench/contributors","subscribers_url":"https://api.github.com/repos/phpbench/phpbench/subscribers","subscription_url":"https://api.github.com/repos/phpbench/phpbench/subscription","commits_url":"https://api.github.com/repos/phpbench/phpbench/commits{/sha}","git_commits_url":"https://api.github.com/repos/phpbench/phpbench/git/commits{/sha}","comments_url":"https://api.github.com/repos/phpbench/phpbench/comments{/number}","issue_comment_url":"https://api.github.com/repos/phpbench/phpbench/issues/comments{/number}","contents_url":"https://api.github.com/repos/phpbench/phpbench/contents/{+path}","compare_url":"https://api.github.com/repos/phpbench/phpbench/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phpbench/phpbench/merges","archive_url":"https://api.github.com/repos/phpbench/phpbench/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phpbench/phpbench/downloads","issues_url":"https://api.github.com/repos/phpbench/phpbench/issues{/number}","pulls_url":"https://api.github.com/repos/phpbench/phpbench/pulls{/number}","milestones_url":"https://api.github.com/repos/phpbench/phpbench/milestones{/number}","notifications_url":"https://api.github.com/repos/phpbench/phpbench/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phpbench/phpbench/labels{/name}","releases_url":"https://api.github.com/repos/phpbench/phpbench/releases{/id}","created_at":"2015-05-03T10:34:08Z","updated_at":"2015-12-22T10:25:22Z","pushed_at":"2015-12-25T09:54:11Z","git_url":"git://github.com/phpbench/phpbench.git","ssh_url":"git@github.com:phpbench/phpbench.git","clone_url":"https://github.com/phpbench/phpbench.git","svn_url":"https://github.com/phpbench/phpbench","homepage":null,"size":1050,"stargazers_count":242,"watchers_count":242,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":27,"forks":7,"open_issues":27,"watchers":242,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/phpbench/phpbench/pulls/250"},"html":{"href":"https://github.com/phpbench/phpbench/pull/250"},"issue":{"href":"https://api.github.com/repos/phpbench/phpbench/issues/250"},"comments":{"href":"https://api.github.com/repos/phpbench/phpbench/issues/250/comments"},"review_comments":{"href":"https://api.github.com/repos/phpbench/phpbench/pulls/250/comments"},"review_comment":{"href":"https://api.github.com/repos/phpbench/phpbench/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/phpbench/phpbench/pulls/250/commits"},"statuses":{"href":"https://api.github.com/repos/phpbench/phpbench/statuses/e6c3302fb464f9cabae602104fb9c52cf7dd496c"}}}}