{"action":"created","comment":{"url":"https://api.github.com/repos/jenkinsci/jenkins/pulls/comments/83881122","pull_request_review_id":4694736,"id":83881122,"diff_hunk":"@@ -106,8 +108,10 @@ public HttpResponse doResourceBundle(StaplerRequest request) {\n             }\n \n             return HttpResponses.okJSON(ResourceBundleUtil.getBundle(baseName, locale));\n+        } catch (MissingResourceException e) {\n+            return HttpResponses.errorJSON(e.getMessage(), HttpServletResponse.SC_NOT_FOUND);\n         } catch (Exception e) {\n-            return HttpResponses.errorJSON(e.getMessage());\n+            return HttpResponses.errorJSON(e.getMessage(), HttpServletResponse.SC_INTERNAL_SERVER_ERROR);","path":"core/src/main/java/jenkins/I18n.java","position":18,"original_position":18,"commit_id":"86f4c46ed0e0c3c0d82f4d875822bf4d0692e0c2","original_commit_id":"3ee57ae1cfb5cd3ad792a7f12324f5938956613a","user":{"login":"scherler","id":596701,"avatar_url":"https://avatars.githubusercontent.com/u/596701?v=3","gravatar_id":"","url":"https://api.github.com/users/scherler","html_url":"https://github.com/scherler","followers_url":"https://api.github.com/users/scherler/followers","following_url":"https://api.github.com/users/scherler/following{/other_user}","gists_url":"https://api.github.com/users/scherler/gists{/gist_id}","starred_url":"https://api.github.com/users/scherler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scherler/subscriptions","organizations_url":"https://api.github.com/users/scherler/orgs","repos_url":"https://api.github.com/users/scherler/repos","events_url":"https://api.github.com/users/scherler/events{/privacy}","received_events_url":"https://api.github.com/users/scherler/received_events","type":"User","site_admin":false},"body":"I will refactor to drop the part on SC_INTERNAL_SERVER_ERROR","created_at":"2016-10-18T15:27:39Z","updated_at":"2016-10-18T15:27:40Z","html_url":"https://github.com/jenkinsci/jenkins/pull/2586#discussion_r83881122","pull_request_url":"https://api.github.com/repos/jenkinsci/jenkins/pulls/2586","_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/jenkins/pulls/comments/83881122"},"html":{"href":"https://github.com/jenkinsci/jenkins/pull/2586#discussion_r83881122"},"pull_request":{"href":"https://api.github.com/repos/jenkinsci/jenkins/pulls/2586"}}},"pull_request":{"url":"https://api.github.com/repos/jenkinsci/jenkins/pulls/2586","id":88798311,"html_url":"https://github.com/jenkinsci/jenkins/pull/2586","diff_url":"https://github.com/jenkinsci/jenkins/pull/2586.diff","patch_url":"https://github.com/jenkinsci/jenkins/pull/2586.patch","issue_url":"https://api.github.com/repos/jenkinsci/jenkins/issues/2586","number":2586,"state":"open","locked":false,"title":"[FIX JENKINS-35845] Internationalisation for Blue Ocean and JDL","user":{"login":"scherler","id":596701,"avatar_url":"https://avatars.githubusercontent.com/u/596701?v=3","gravatar_id":"","url":"https://api.github.com/users/scherler","html_url":"https://github.com/scherler","followers_url":"https://api.github.com/users/scherler/followers","following_url":"https://api.github.com/users/scherler/following{/other_user}","gists_url":"https://api.github.com/users/scherler/gists{/gist_id}","starred_url":"https://api.github.com/users/scherler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scherler/subscriptions","organizations_url":"https://api.github.com/users/scherler/orgs","repos_url":"https://api.github.com/users/scherler/repos","events_url":"https://api.github.com/users/scherler/events{/privacy}","received_events_url":"https://api.github.com/users/scherler/received_events","type":"User","site_admin":false},"body":"Allow plugins to export i18n resources.\r\n\r\nAlternative to jenkinsci/jenkins#2400 related to JENKINS-35270.\r\n\r\nCreated the PR because of [JENKINS-35845] Internationalisation for Blue Ocean and JDL\r\n\r\n@jenkinsci/code-reviewers @reviewbybees \r\n","created_at":"2016-10-11T09:23:36Z","updated_at":"2016-10-18T15:27:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4e5466e5b4ab1dde9d4fa0fbccf5eb0ba9303ae8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/jenkins/pulls/2586/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/jenkins/pulls/2586/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/jenkins/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/jenkins/issues/2586/comments","statuses_url":"https://api.github.com/repos/jenkinsci/jenkins/statuses/86f4c46ed0e0c3c0d82f4d875822bf4d0692e0c2","head":{"label":"scherler:JENKINS-35845","ref":"JENKINS-35845","sha":"86f4c46ed0e0c3c0d82f4d875822bf4d0692e0c2","user":{"login":"scherler","id":596701,"avatar_url":"https://avatars.githubusercontent.com/u/596701?v=3","gravatar_id":"","url":"https://api.github.com/users/scherler","html_url":"https://github.com/scherler","followers_url":"https://api.github.com/users/scherler/followers","following_url":"https://api.github.com/users/scherler/following{/other_user}","gists_url":"https://api.github.com/users/scherler/gists{/gist_id}","starred_url":"https://api.github.com/users/scherler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scherler/subscriptions","organizations_url":"https://api.github.com/users/scherler/orgs","repos_url":"https://api.github.com/users/scherler/repos","events_url":"https://api.github.com/users/scherler/events{/privacy}","received_events_url":"https://api.github.com/users/scherler/received_events","type":"User","site_admin":false},"repo":{"id":70576377,"name":"jenkins","full_name":"scherler/jenkins","owner":{"login":"scherler","id":596701,"avatar_url":"https://avatars.githubusercontent.com/u/596701?v=3","gravatar_id":"","url":"https://api.github.com/users/scherler","html_url":"https://github.com/scherler","followers_url":"https://api.github.com/users/scherler/followers","following_url":"https://api.github.com/users/scherler/following{/other_user}","gists_url":"https://api.github.com/users/scherler/gists{/gist_id}","starred_url":"https://api.github.com/users/scherler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scherler/subscriptions","organizations_url":"https://api.github.com/users/scherler/orgs","repos_url":"https://api.github.com/users/scherler/repos","events_url":"https://api.github.com/users/scherler/events{/privacy}","received_events_url":"https://api.github.com/users/scherler/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/scherler/jenkins","description":"Jenkins Continuous Integration Server","fork":true,"url":"https://api.github.com/repos/scherler/jenkins","forks_url":"https://api.github.com/repos/scherler/jenkins/forks","keys_url":"https://api.github.com/repos/scherler/jenkins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scherler/jenkins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scherler/jenkins/teams","hooks_url":"https://api.github.com/repos/scherler/jenkins/hooks","issue_events_url":"https://api.github.com/repos/scherler/jenkins/issues/events{/number}","events_url":"https://api.github.com/repos/scherler/jenkins/events","assignees_url":"https://api.github.com/repos/scherler/jenkins/assignees{/user}","branches_url":"https://api.github.com/repos/scherler/jenkins/branches{/branch}","tags_url":"https://api.github.com/repos/scherler/jenkins/tags","blobs_url":"https://api.github.com/repos/scherler/jenkins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scherler/jenkins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scherler/jenkins/git/refs{/sha}","trees_url":"https://api.github.com/repos/scherler/jenkins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scherler/jenkins/statuses/{sha}","languages_url":"https://api.github.com/repos/scherler/jenkins/languages","stargazers_url":"https://api.github.com/repos/scherler/jenkins/stargazers","contributors_url":"https://api.github.com/repos/scherler/jenkins/contributors","subscribers_url":"https://api.github.com/repos/scherler/jenkins/subscribers","subscription_url":"https://api.github.com/repos/scherler/jenkins/subscription","commits_url":"https://api.github.com/repos/scherler/jenkins/commits{/sha}","git_commits_url":"https://api.github.com/repos/scherler/jenkins/git/commits{/sha}","comments_url":"https://api.github.com/repos/scherler/jenkins/comments{/number}","issue_comment_url":"https://api.github.com/repos/scherler/jenkins/issues/comments{/number}","contents_url":"https://api.github.com/repos/scherler/jenkins/contents/{+path}","compare_url":"https://api.github.com/repos/scherler/jenkins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scherler/jenkins/merges","archive_url":"https://api.github.com/repos/scherler/jenkins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scherler/jenkins/downloads","issues_url":"https://api.github.com/repos/scherler/jenkins/issues{/number}","pulls_url":"https://api.github.com/repos/scherler/jenkins/pulls{/number}","milestones_url":"https://api.github.com/repos/scherler/jenkins/milestones{/number}","notifications_url":"https://api.github.com/repos/scherler/jenkins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scherler/jenkins/labels{/name}","releases_url":"https://api.github.com/repos/scherler/jenkins/releases{/id}","deployments_url":"https://api.github.com/repos/scherler/jenkins/deployments","created_at":"2016-10-11T09:13:26Z","updated_at":"2016-10-11T09:13:54Z","pushed_at":"2016-10-17T16:07:18Z","git_url":"git://github.com/scherler/jenkins.git","ssh_url":"git@github.com:scherler/jenkins.git","clone_url":"https://github.com/scherler/jenkins.git","svn_url":"https://github.com/scherler/jenkins","homepage":"https://jenkins.io/","size":96857,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":false,"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":"jenkinsci:master","ref":"master","sha":"c88a6ac41f0b8f48b44ff9fab4ad678a3364516b","user":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"repo":{"id":1103607,"name":"jenkins","full_name":"jenkinsci/jenkins","owner":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jenkinsci/jenkins","description":"Jenkins Continuous Integration Server","fork":true,"url":"https://api.github.com/repos/jenkinsci/jenkins","forks_url":"https://api.github.com/repos/jenkinsci/jenkins/forks","keys_url":"https://api.github.com/repos/jenkinsci/jenkins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/jenkins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/jenkins/teams","hooks_url":"https://api.github.com/repos/jenkinsci/jenkins/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/jenkins/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/jenkins/events","assignees_url":"https://api.github.com/repos/jenkinsci/jenkins/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/jenkins/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/jenkins/tags","blobs_url":"https://api.github.com/repos/jenkinsci/jenkins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/jenkins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/jenkins/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/jenkins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/jenkins/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/jenkins/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/jenkins/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/jenkins/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/jenkins/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/jenkins/subscription","commits_url":"https://api.github.com/repos/jenkinsci/jenkins/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/jenkins/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/jenkins/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/jenkins/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/jenkins/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/jenkins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/jenkins/merges","archive_url":"https://api.github.com/repos/jenkinsci/jenkins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/jenkins/downloads","issues_url":"https://api.github.com/repos/jenkinsci/jenkins/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/jenkins/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/jenkins/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/jenkins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/jenkins/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/jenkins/releases{/id}","deployments_url":"https://api.github.com/repos/jenkinsci/jenkins/deployments","created_at":"2010-11-22T21:21:23Z","updated_at":"2016-10-18T12:04:46Z","pushed_at":"2016-10-18T07:44:25Z","git_url":"git://github.com/jenkinsci/jenkins.git","ssh_url":"git@github.com:jenkinsci/jenkins.git","clone_url":"https://github.com/jenkinsci/jenkins.git","svn_url":"https://github.com/jenkinsci/jenkins","homepage":"https://jenkins.io/","size":141419,"stargazers_count":6840,"watchers_count":6840,"language":"Java","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":2882,"mirror_url":null,"open_issues_count":116,"forks":2882,"open_issues":116,"watchers":6840,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/jenkins/pulls/2586"},"html":{"href":"https://github.com/jenkinsci/jenkins/pull/2586"},"issue":{"href":"https://api.github.com/repos/jenkinsci/jenkins/issues/2586"},"comments":{"href":"https://api.github.com/repos/jenkinsci/jenkins/issues/2586/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/jenkins/pulls/2586/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/jenkins/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/jenkins/pulls/2586/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/jenkins/statuses/86f4c46ed0e0c3c0d82f4d875822bf4d0692e0c2"}}}}
{"actor":{"display_login":"scherler"}}