{"action":"created","comment":{"url":"https://api.github.com/repos/osiam/resource-server/pulls/comments/40896213","id":40896213,"diff_hunk":"@@ -62,10 +63,10 @@ public ErrorResponse handleResourceExists(ResourceExistsException e) {\n         return produceErrorResponse(e.getMessage(), HttpStatus.CONFLICT);\n     }\n \n-    @ExceptionHandler(OsiamBackendFailureException.class)\n+    @ExceptionHandler({OsiamBackendFailureException.class, ConnectionInitializationException.class})","path":"src/main/java/org/osiam/resources/exception/OsiamExceptionHandler.java","position":13,"original_position":13,"commit_id":"2e2d51bd76cea4285c36387d700f6d3ae5be0fa4","original_commit_id":"70c5b8e155c02adcffc3138558c9a0351cf76750","user":{"login":"wallner","id":563601,"avatar_url":"https://avatars.githubusercontent.com/u/563601?v=3","gravatar_id":"","url":"https://api.github.com/users/wallner","html_url":"https://github.com/wallner","followers_url":"https://api.github.com/users/wallner/followers","following_url":"https://api.github.com/users/wallner/following{/other_user}","gists_url":"https://api.github.com/users/wallner/gists{/gist_id}","starred_url":"https://api.github.com/users/wallner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wallner/subscriptions","organizations_url":"https://api.github.com/users/wallner/orgs","repos_url":"https://api.github.com/users/wallner/repos","events_url":"https://api.github.com/users/wallner/events{/privacy}","received_events_url":"https://api.github.com/users/wallner/received_events","type":"User","site_admin":false},"body":"You are right of course. Shall we fix it in this PR too?","created_at":"2015-10-01T09:50:25Z","updated_at":"2015-10-01T09:50:25Z","html_url":"https://github.com/osiam/resource-server/pull/80#discussion_r40896213","pull_request_url":"https://api.github.com/repos/osiam/resource-server/pulls/80","_links":{"self":{"href":"https://api.github.com/repos/osiam/resource-server/pulls/comments/40896213"},"html":{"href":"https://github.com/osiam/resource-server/pull/80#discussion_r40896213"},"pull_request":{"href":"https://api.github.com/repos/osiam/resource-server/pulls/80"}}},"pull_request":{"url":"https://api.github.com/repos/osiam/resource-server/pulls/80","id":46459794,"html_url":"https://github.com/osiam/resource-server/pull/80","diff_url":"https://github.com/osiam/resource-server/pull/80.diff","patch_url":"https://github.com/osiam/resource-server/pull/80.patch","issue_url":"https://api.github.com/repos/osiam/resource-server/issues/80","number":80,"state":"open","locked":false,"title":"Better log message if auth-server can't be reached","user":{"login":"wallner","id":563601,"avatar_url":"https://avatars.githubusercontent.com/u/563601?v=3","gravatar_id":"","url":"https://api.github.com/users/wallner","html_url":"https://github.com/wallner","followers_url":"https://api.github.com/users/wallner/followers","following_url":"https://api.github.com/users/wallner/following{/other_user}","gists_url":"https://api.github.com/users/wallner/gists{/gist_id}","starred_url":"https://api.github.com/users/wallner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wallner/subscriptions","organizations_url":"https://api.github.com/users/wallner/orgs","repos_url":"https://api.github.com/users/wallner/repos","events_url":"https://api.github.com/users/wallner/events{/privacy}","received_events_url":"https://api.github.com/users/wallner/received_events","type":"User","site_admin":false},"body":"Provide a meaningful log message if the auth-server cannot be reached to\nvalidate a provided access token.\n\nThis commit also turns the connector in the\n`AccessTokenValidationService` into a field instead of creating it for\nevery request.\n\nIt adds one test for the code added, however the whole class lacks\ntests, we should add them.\n\nFixes #52.","created_at":"2015-09-30T21:34:35Z","updated_at":"2015-10-01T09:50:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a70ddb9d9fa13fe6703053c9e20b2e4171709f45","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/osiam/resource-server/pulls/80/commits","review_comments_url":"https://api.github.com/repos/osiam/resource-server/pulls/80/comments","review_comment_url":"https://api.github.com/repos/osiam/resource-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/osiam/resource-server/issues/80/comments","statuses_url":"https://api.github.com/repos/osiam/resource-server/statuses/2e2d51bd76cea4285c36387d700f6d3ae5be0fa4","head":{"label":"wallner:meaningful_log_message","ref":"meaningful_log_message","sha":"2e2d51bd76cea4285c36387d700f6d3ae5be0fa4","user":{"login":"wallner","id":563601,"avatar_url":"https://avatars.githubusercontent.com/u/563601?v=3","gravatar_id":"","url":"https://api.github.com/users/wallner","html_url":"https://github.com/wallner","followers_url":"https://api.github.com/users/wallner/followers","following_url":"https://api.github.com/users/wallner/following{/other_user}","gists_url":"https://api.github.com/users/wallner/gists{/gist_id}","starred_url":"https://api.github.com/users/wallner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wallner/subscriptions","organizations_url":"https://api.github.com/users/wallner/orgs","repos_url":"https://api.github.com/users/wallner/repos","events_url":"https://api.github.com/users/wallner/events{/privacy}","received_events_url":"https://api.github.com/users/wallner/received_events","type":"User","site_admin":false},"repo":{"id":37938842,"name":"resource-server","full_name":"wallner/resource-server","owner":{"login":"wallner","id":563601,"avatar_url":"https://avatars.githubusercontent.com/u/563601?v=3","gravatar_id":"","url":"https://api.github.com/users/wallner","html_url":"https://github.com/wallner","followers_url":"https://api.github.com/users/wallner/followers","following_url":"https://api.github.com/users/wallner/following{/other_user}","gists_url":"https://api.github.com/users/wallner/gists{/gist_id}","starred_url":"https://api.github.com/users/wallner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wallner/subscriptions","organizations_url":"https://api.github.com/users/wallner/orgs","repos_url":"https://api.github.com/users/wallner/repos","events_url":"https://api.github.com/users/wallner/events{/privacy}","received_events_url":"https://api.github.com/users/wallner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wallner/resource-server","description":"OSIAM resource server","fork":true,"url":"https://api.github.com/repos/wallner/resource-server","forks_url":"https://api.github.com/repos/wallner/resource-server/forks","keys_url":"https://api.github.com/repos/wallner/resource-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wallner/resource-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wallner/resource-server/teams","hooks_url":"https://api.github.com/repos/wallner/resource-server/hooks","issue_events_url":"https://api.github.com/repos/wallner/resource-server/issues/events{/number}","events_url":"https://api.github.com/repos/wallner/resource-server/events","assignees_url":"https://api.github.com/repos/wallner/resource-server/assignees{/user}","branches_url":"https://api.github.com/repos/wallner/resource-server/branches{/branch}","tags_url":"https://api.github.com/repos/wallner/resource-server/tags","blobs_url":"https://api.github.com/repos/wallner/resource-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wallner/resource-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wallner/resource-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/wallner/resource-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wallner/resource-server/statuses/{sha}","languages_url":"https://api.github.com/repos/wallner/resource-server/languages","stargazers_url":"https://api.github.com/repos/wallner/resource-server/stargazers","contributors_url":"https://api.github.com/repos/wallner/resource-server/contributors","subscribers_url":"https://api.github.com/repos/wallner/resource-server/subscribers","subscription_url":"https://api.github.com/repos/wallner/resource-server/subscription","commits_url":"https://api.github.com/repos/wallner/resource-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/wallner/resource-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/wallner/resource-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/wallner/resource-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/wallner/resource-server/contents/{+path}","compare_url":"https://api.github.com/repos/wallner/resource-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wallner/resource-server/merges","archive_url":"https://api.github.com/repos/wallner/resource-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wallner/resource-server/downloads","issues_url":"https://api.github.com/repos/wallner/resource-server/issues{/number}","pulls_url":"https://api.github.com/repos/wallner/resource-server/pulls{/number}","milestones_url":"https://api.github.com/repos/wallner/resource-server/milestones{/number}","notifications_url":"https://api.github.com/repos/wallner/resource-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wallner/resource-server/labels{/name}","releases_url":"https://api.github.com/repos/wallner/resource-server/releases{/id}","created_at":"2015-06-23T19:01:13Z","updated_at":"2015-06-23T19:01:14Z","pushed_at":"2015-10-01T09:16:42Z","git_url":"git://github.com/wallner/resource-server.git","ssh_url":"git@github.com:wallner/resource-server.git","clone_url":"https://github.com/wallner/resource-server.git","svn_url":"https://github.com/wallner/resource-server","homepage":null,"size":2381,"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":"osiam:master","ref":"master","sha":"695951b0e6014f22e2590c3caf40f48b970b319a","user":{"login":"osiam","id":1918807,"avatar_url":"https://avatars.githubusercontent.com/u/1918807?v=3","gravatar_id":"","url":"https://api.github.com/users/osiam","html_url":"https://github.com/osiam","followers_url":"https://api.github.com/users/osiam/followers","following_url":"https://api.github.com/users/osiam/following{/other_user}","gists_url":"https://api.github.com/users/osiam/gists{/gist_id}","starred_url":"https://api.github.com/users/osiam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osiam/subscriptions","organizations_url":"https://api.github.com/users/osiam/orgs","repos_url":"https://api.github.com/users/osiam/repos","events_url":"https://api.github.com/users/osiam/events{/privacy}","received_events_url":"https://api.github.com/users/osiam/received_events","type":"Organization","site_admin":false},"repo":{"id":34856295,"name":"resource-server","full_name":"osiam/resource-server","owner":{"login":"osiam","id":1918807,"avatar_url":"https://avatars.githubusercontent.com/u/1918807?v=3","gravatar_id":"","url":"https://api.github.com/users/osiam","html_url":"https://github.com/osiam","followers_url":"https://api.github.com/users/osiam/followers","following_url":"https://api.github.com/users/osiam/following{/other_user}","gists_url":"https://api.github.com/users/osiam/gists{/gist_id}","starred_url":"https://api.github.com/users/osiam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osiam/subscriptions","organizations_url":"https://api.github.com/users/osiam/orgs","repos_url":"https://api.github.com/users/osiam/repos","events_url":"https://api.github.com/users/osiam/events{/privacy}","received_events_url":"https://api.github.com/users/osiam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/osiam/resource-server","description":"OSIAM resource server","fork":false,"url":"https://api.github.com/repos/osiam/resource-server","forks_url":"https://api.github.com/repos/osiam/resource-server/forks","keys_url":"https://api.github.com/repos/osiam/resource-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/osiam/resource-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/osiam/resource-server/teams","hooks_url":"https://api.github.com/repos/osiam/resource-server/hooks","issue_events_url":"https://api.github.com/repos/osiam/resource-server/issues/events{/number}","events_url":"https://api.github.com/repos/osiam/resource-server/events","assignees_url":"https://api.github.com/repos/osiam/resource-server/assignees{/user}","branches_url":"https://api.github.com/repos/osiam/resource-server/branches{/branch}","tags_url":"https://api.github.com/repos/osiam/resource-server/tags","blobs_url":"https://api.github.com/repos/osiam/resource-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/osiam/resource-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/osiam/resource-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/osiam/resource-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/osiam/resource-server/statuses/{sha}","languages_url":"https://api.github.com/repos/osiam/resource-server/languages","stargazers_url":"https://api.github.com/repos/osiam/resource-server/stargazers","contributors_url":"https://api.github.com/repos/osiam/resource-server/contributors","subscribers_url":"https://api.github.com/repos/osiam/resource-server/subscribers","subscription_url":"https://api.github.com/repos/osiam/resource-server/subscription","commits_url":"https://api.github.com/repos/osiam/resource-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/osiam/resource-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/osiam/resource-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/osiam/resource-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/osiam/resource-server/contents/{+path}","compare_url":"https://api.github.com/repos/osiam/resource-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/osiam/resource-server/merges","archive_url":"https://api.github.com/repos/osiam/resource-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/osiam/resource-server/downloads","issues_url":"https://api.github.com/repos/osiam/resource-server/issues{/number}","pulls_url":"https://api.github.com/repos/osiam/resource-server/pulls{/number}","milestones_url":"https://api.github.com/repos/osiam/resource-server/milestones{/number}","notifications_url":"https://api.github.com/repos/osiam/resource-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/osiam/resource-server/labels{/name}","releases_url":"https://api.github.com/repos/osiam/resource-server/releases{/id}","created_at":"2015-04-30T13:37:48Z","updated_at":"2015-07-29T07:50:51Z","pushed_at":"2015-10-01T09:16:42Z","git_url":"git://github.com/osiam/resource-server.git","ssh_url":"git@github.com:osiam/resource-server.git","clone_url":"https://github.com/osiam/resource-server.git","svn_url":"https://github.com/osiam/resource-server","homepage":null,"size":2778,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":20,"forks":6,"open_issues":20,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/osiam/resource-server/pulls/80"},"html":{"href":"https://github.com/osiam/resource-server/pull/80"},"issue":{"href":"https://api.github.com/repos/osiam/resource-server/issues/80"},"comments":{"href":"https://api.github.com/repos/osiam/resource-server/issues/80/comments"},"review_comments":{"href":"https://api.github.com/repos/osiam/resource-server/pulls/80/comments"},"review_comment":{"href":"https://api.github.com/repos/osiam/resource-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/osiam/resource-server/pulls/80/commits"},"statuses":{"href":"https://api.github.com/repos/osiam/resource-server/statuses/2e2d51bd76cea4285c36387d700f6d3ae5be0fa4"}}}}