{"action":"created","comment":{"url":"https://api.github.com/repos/openmrs/openmrs-core/pulls/comments/26561975","id":26561975,"diff_hunk":"@@ -141,7 +141,8 @@ public static void sendSchedulerError(Throwable throwable) {\n \tpublic static String getExceptionAsString(Throwable t) {\n \t\tStringWriter stringWriter = new StringWriter();\n \t\tPrintWriter printWriter = new PrintWriter(stringWriter, true);\n-\t\tt.printStackTrace(printWriter);\n+\t\tlog.error(t);\n+\t\t//\t\tt.printStackTrace(printWriter);\n \t\tprintWriter.flush();\n \t\tstringWriter.flush();\n \t\treturn stringWriter.toString();","path":"api/src/main/java/org/openmrs/scheduler/SchedulerUtil.java","position":9,"original_position":9,"commit_id":"aa26c6e8744eab7177800ef97f2dd94048fa2d75","original_commit_id":"aa26c6e8744eab7177800ef97f2dd94048fa2d75","user":{"login":"rkorytkowski","id":1163157,"avatar_url":"https://avatars.githubusercontent.com/u/1163157?v=3","gravatar_id":"","url":"https://api.github.com/users/rkorytkowski","html_url":"https://github.com/rkorytkowski","followers_url":"https://api.github.com/users/rkorytkowski/followers","following_url":"https://api.github.com/users/rkorytkowski/following{/other_user}","gists_url":"https://api.github.com/users/rkorytkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/rkorytkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkorytkowski/subscriptions","organizations_url":"https://api.github.com/users/rkorytkowski/orgs","repos_url":"https://api.github.com/users/rkorytkowski/repos","events_url":"https://api.github.com/users/rkorytkowski/events{/privacy}","received_events_url":"https://api.github.com/users/rkorytkowski/received_events","type":"User","site_admin":false},"body":"This should not call log.error(t). It should return ExceptionUtil.getStrackTrace(t);","created_at":"2015-03-17T10:29:54Z","updated_at":"2015-03-17T10:29:54Z","html_url":"https://github.com/openmrs/openmrs-core/pull/1410#discussion_r26561975","pull_request_url":"https://api.github.com/repos/openmrs/openmrs-core/pulls/1410","_links":{"self":{"href":"https://api.github.com/repos/openmrs/openmrs-core/pulls/comments/26561975"},"html":{"href":"https://github.com/openmrs/openmrs-core/pull/1410#discussion_r26561975"},"pull_request":{"href":"https://api.github.com/repos/openmrs/openmrs-core/pulls/1410"}}},"pull_request":{"url":"https://api.github.com/repos/openmrs/openmrs-core/pulls/1410","id":31126182,"html_url":"https://github.com/openmrs/openmrs-core/pull/1410","diff_url":"https://github.com/openmrs/openmrs-core/pull/1410.diff","patch_url":"https://github.com/openmrs/openmrs-core/pull/1410.patch","issue_url":"https://api.github.com/repos/openmrs/openmrs-core/issues/1410","number":1410,"state":"open","locked":false,"title":"TRUNK-4640 \"Throwable.printStackTrace(...) should never be called\"","user":{"login":"tomaszmueller","id":11390692,"avatar_url":"https://avatars.githubusercontent.com/u/11390692?v=3","gravatar_id":"","url":"https://api.github.com/users/tomaszmueller","html_url":"https://github.com/tomaszmueller","followers_url":"https://api.github.com/users/tomaszmueller/followers","following_url":"https://api.github.com/users/tomaszmueller/following{/other_user}","gists_url":"https://api.github.com/users/tomaszmueller/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaszmueller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaszmueller/subscriptions","organizations_url":"https://api.github.com/users/tomaszmueller/orgs","repos_url":"https://api.github.com/users/tomaszmueller/repos","events_url":"https://api.github.com/users/tomaszmueller/events{/privacy}","received_events_url":"https://api.github.com/users/tomaszmueller/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-13T13:41:41Z","updated_at":"2015-03-17T10:29:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1fbf3606d9fe41d0afa07e47d8c8c6d3bb93047a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openmrs/openmrs-core/pulls/1410/commits","review_comments_url":"https://api.github.com/repos/openmrs/openmrs-core/pulls/1410/comments","review_comment_url":"https://api.github.com/repos/openmrs/openmrs-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openmrs/openmrs-core/issues/1410/comments","statuses_url":"https://api.github.com/repos/openmrs/openmrs-core/statuses/aa26c6e8744eab7177800ef97f2dd94048fa2d75","head":{"label":"tomaszmueller:TRUNK-4640","ref":"TRUNK-4640","sha":"aa26c6e8744eab7177800ef97f2dd94048fa2d75","user":{"login":"tomaszmueller","id":11390692,"avatar_url":"https://avatars.githubusercontent.com/u/11390692?v=3","gravatar_id":"","url":"https://api.github.com/users/tomaszmueller","html_url":"https://github.com/tomaszmueller","followers_url":"https://api.github.com/users/tomaszmueller/followers","following_url":"https://api.github.com/users/tomaszmueller/following{/other_user}","gists_url":"https://api.github.com/users/tomaszmueller/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaszmueller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaszmueller/subscriptions","organizations_url":"https://api.github.com/users/tomaszmueller/orgs","repos_url":"https://api.github.com/users/tomaszmueller/repos","events_url":"https://api.github.com/users/tomaszmueller/events{/privacy}","received_events_url":"https://api.github.com/users/tomaszmueller/received_events","type":"User","site_admin":false},"repo":{"id":31900466,"name":"openmrs-core","full_name":"tomaszmueller/openmrs-core","owner":{"login":"tomaszmueller","id":11390692,"avatar_url":"https://avatars.githubusercontent.com/u/11390692?v=3","gravatar_id":"","url":"https://api.github.com/users/tomaszmueller","html_url":"https://github.com/tomaszmueller","followers_url":"https://api.github.com/users/tomaszmueller/followers","following_url":"https://api.github.com/users/tomaszmueller/following{/other_user}","gists_url":"https://api.github.com/users/tomaszmueller/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaszmueller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaszmueller/subscriptions","organizations_url":"https://api.github.com/users/tomaszmueller/orgs","repos_url":"https://api.github.com/users/tomaszmueller/repos","events_url":"https://api.github.com/users/tomaszmueller/events{/privacy}","received_events_url":"https://api.github.com/users/tomaszmueller/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tomaszmueller/openmrs-core","description":"OpenMRS API and web application code","fork":true,"url":"https://api.github.com/repos/tomaszmueller/openmrs-core","forks_url":"https://api.github.com/repos/tomaszmueller/openmrs-core/forks","keys_url":"https://api.github.com/repos/tomaszmueller/openmrs-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tomaszmueller/openmrs-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tomaszmueller/openmrs-core/teams","hooks_url":"https://api.github.com/repos/tomaszmueller/openmrs-core/hooks","issue_events_url":"https://api.github.com/repos/tomaszmueller/openmrs-core/issues/events{/number}","events_url":"https://api.github.com/repos/tomaszmueller/openmrs-core/events","assignees_url":"https://api.github.com/repos/tomaszmueller/openmrs-core/assignees{/user}","branches_url":"https://api.github.com/repos/tomaszmueller/openmrs-core/branches{/branch}","tags_url":"https://api.github.com/repos/tomaszmueller/openmrs-core/tags","blobs_url":"https://api.github.com/repos/tomaszmueller/openmrs-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tomaszmueller/openmrs-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tomaszmueller/openmrs-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/tomaszmueller/openmrs-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tomaszmueller/openmrs-core/statuses/{sha}","languages_url":"https://api.github.com/repos/tomaszmueller/openmrs-core/languages","stargazers_url":"https://api.github.com/repos/tomaszmueller/openmrs-core/stargazers","contributors_url":"https://api.github.com/repos/tomaszmueller/openmrs-core/contributors","subscribers_url":"https://api.github.com/repos/tomaszmueller/openmrs-core/subscribers","subscription_url":"https://api.github.com/repos/tomaszmueller/openmrs-core/subscription","commits_url":"https://api.github.com/repos/tomaszmueller/openmrs-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/tomaszmueller/openmrs-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/tomaszmueller/openmrs-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/tomaszmueller/openmrs-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/tomaszmueller/openmrs-core/contents/{+path}","compare_url":"https://api.github.com/repos/tomaszmueller/openmrs-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tomaszmueller/openmrs-core/merges","archive_url":"https://api.github.com/repos/tomaszmueller/openmrs-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tomaszmueller/openmrs-core/downloads","issues_url":"https://api.github.com/repos/tomaszmueller/openmrs-core/issues{/number}","pulls_url":"https://api.github.com/repos/tomaszmueller/openmrs-core/pulls{/number}","milestones_url":"https://api.github.com/repos/tomaszmueller/openmrs-core/milestones{/number}","notifications_url":"https://api.github.com/repos/tomaszmueller/openmrs-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tomaszmueller/openmrs-core/labels{/name}","releases_url":"https://api.github.com/repos/tomaszmueller/openmrs-core/releases{/id}","created_at":"2015-03-09T13:43:21Z","updated_at":"2015-03-09T13:43:30Z","pushed_at":"2015-03-16T12:31:50Z","git_url":"git://github.com/tomaszmueller/openmrs-core.git","ssh_url":"git@github.com:tomaszmueller/openmrs-core.git","clone_url":"https://github.com/tomaszmueller/openmrs-core.git","svn_url":"https://github.com/tomaszmueller/openmrs-core","homepage":"http://openmrs.org","size":220673,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"openmrs:master","ref":"master","sha":"ab2ba9c495d5df2eea285b21aaf5ebc4d0e53393","user":{"login":"openmrs","id":860776,"avatar_url":"https://avatars.githubusercontent.com/u/860776?v=3","gravatar_id":"","url":"https://api.github.com/users/openmrs","html_url":"https://github.com/openmrs","followers_url":"https://api.github.com/users/openmrs/followers","following_url":"https://api.github.com/users/openmrs/following{/other_user}","gists_url":"https://api.github.com/users/openmrs/gists{/gist_id}","starred_url":"https://api.github.com/users/openmrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmrs/subscriptions","organizations_url":"https://api.github.com/users/openmrs/orgs","repos_url":"https://api.github.com/users/openmrs/repos","events_url":"https://api.github.com/users/openmrs/events{/privacy}","received_events_url":"https://api.github.com/users/openmrs/received_events","type":"Organization","site_admin":false},"repo":{"id":5187976,"name":"openmrs-core","full_name":"openmrs/openmrs-core","owner":{"login":"openmrs","id":860776,"avatar_url":"https://avatars.githubusercontent.com/u/860776?v=3","gravatar_id":"","url":"https://api.github.com/users/openmrs","html_url":"https://github.com/openmrs","followers_url":"https://api.github.com/users/openmrs/followers","following_url":"https://api.github.com/users/openmrs/following{/other_user}","gists_url":"https://api.github.com/users/openmrs/gists{/gist_id}","starred_url":"https://api.github.com/users/openmrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmrs/subscriptions","organizations_url":"https://api.github.com/users/openmrs/orgs","repos_url":"https://api.github.com/users/openmrs/repos","events_url":"https://api.github.com/users/openmrs/events{/privacy}","received_events_url":"https://api.github.com/users/openmrs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openmrs/openmrs-core","description":"OpenMRS API and web application code","fork":false,"url":"https://api.github.com/repos/openmrs/openmrs-core","forks_url":"https://api.github.com/repos/openmrs/openmrs-core/forks","keys_url":"https://api.github.com/repos/openmrs/openmrs-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openmrs/openmrs-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openmrs/openmrs-core/teams","hooks_url":"https://api.github.com/repos/openmrs/openmrs-core/hooks","issue_events_url":"https://api.github.com/repos/openmrs/openmrs-core/issues/events{/number}","events_url":"https://api.github.com/repos/openmrs/openmrs-core/events","assignees_url":"https://api.github.com/repos/openmrs/openmrs-core/assignees{/user}","branches_url":"https://api.github.com/repos/openmrs/openmrs-core/branches{/branch}","tags_url":"https://api.github.com/repos/openmrs/openmrs-core/tags","blobs_url":"https://api.github.com/repos/openmrs/openmrs-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openmrs/openmrs-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openmrs/openmrs-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/openmrs/openmrs-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openmrs/openmrs-core/statuses/{sha}","languages_url":"https://api.github.com/repos/openmrs/openmrs-core/languages","stargazers_url":"https://api.github.com/repos/openmrs/openmrs-core/stargazers","contributors_url":"https://api.github.com/repos/openmrs/openmrs-core/contributors","subscribers_url":"https://api.github.com/repos/openmrs/openmrs-core/subscribers","subscription_url":"https://api.github.com/repos/openmrs/openmrs-core/subscription","commits_url":"https://api.github.com/repos/openmrs/openmrs-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/openmrs/openmrs-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/openmrs/openmrs-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/openmrs/openmrs-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/openmrs/openmrs-core/contents/{+path}","compare_url":"https://api.github.com/repos/openmrs/openmrs-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openmrs/openmrs-core/merges","archive_url":"https://api.github.com/repos/openmrs/openmrs-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openmrs/openmrs-core/downloads","issues_url":"https://api.github.com/repos/openmrs/openmrs-core/issues{/number}","pulls_url":"https://api.github.com/repos/openmrs/openmrs-core/pulls{/number}","milestones_url":"https://api.github.com/repos/openmrs/openmrs-core/milestones{/number}","notifications_url":"https://api.github.com/repos/openmrs/openmrs-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openmrs/openmrs-core/labels{/name}","releases_url":"https://api.github.com/repos/openmrs/openmrs-core/releases{/id}","created_at":"2012-07-26T04:54:29Z","updated_at":"2015-03-17T09:37:35Z","pushed_at":"2015-03-17T09:37:27Z","git_url":"git://github.com/openmrs/openmrs-core.git","ssh_url":"git@github.com:openmrs/openmrs-core.git","clone_url":"https://github.com/openmrs/openmrs-core.git","svn_url":"https://github.com/openmrs/openmrs-core","homepage":"http://openmrs.org","size":263144,"stargazers_count":184,"watchers_count":184,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":991,"mirror_url":null,"open_issues_count":40,"forks":991,"open_issues":40,"watchers":184,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openmrs/openmrs-core/pulls/1410"},"html":{"href":"https://github.com/openmrs/openmrs-core/pull/1410"},"issue":{"href":"https://api.github.com/repos/openmrs/openmrs-core/issues/1410"},"comments":{"href":"https://api.github.com/repos/openmrs/openmrs-core/issues/1410/comments"},"review_comments":{"href":"https://api.github.com/repos/openmrs/openmrs-core/pulls/1410/comments"},"review_comment":{"href":"https://api.github.com/repos/openmrs/openmrs-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openmrs/openmrs-core/pulls/1410/commits"},"statuses":{"href":"https://api.github.com/repos/openmrs/openmrs-core/statuses/aa26c6e8744eab7177800ef97f2dd94048fa2d75"}}}}