{"action":"created","comment":{"url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/comments/108512944","pull_request_review_id":29544579,"id":108512944,"diff_hunk":"@@ -451,7 +451,7 @@ public void sendLogNotification(String message, String icon, String severity) {\n                 notificationMessage.put(\"severity\", severity);\n                 socket.emit(\"lognotification\", notificationMessage);\n             } catch (JSONException e) {\n-                logger.error(e.getMessage());\n+                logger.error(\"{}\", e.getMessage());","path":"addons/io/org.openhab.io.openhabcloud/src/main/java/org/openhab/io/openhabcloud/internal/CloudClient.java","position":110,"original_position":110,"commit_id":"d14b21555b1f2cfd59ac87b00c9bd6423cd8335d","original_commit_id":"d14b21555b1f2cfd59ac87b00c9bd6423cd8335d","user":{"login":"martinvw","id":2625279,"avatar_url":"https://avatars0.githubusercontent.com/u/2625279?v=3","gravatar_id":"","url":"https://api.github.com/users/martinvw","html_url":"https://github.com/martinvw","followers_url":"https://api.github.com/users/martinvw/followers","following_url":"https://api.github.com/users/martinvw/following{/other_user}","gists_url":"https://api.github.com/users/martinvw/gists{/gist_id}","starred_url":"https://api.github.com/users/martinvw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinvw/subscriptions","organizations_url":"https://api.github.com/users/martinvw/orgs","repos_url":"https://api.github.com/users/martinvw/repos","events_url":"https://api.github.com/users/martinvw/events{/privacy}","received_events_url":"https://api.github.com/users/martinvw/received_events","type":"User","site_admin":false},"body":"I would log the exception instead, it is an error, I want to be able to debug the stacktrace","created_at":"2017-03-28T19:16:40Z","updated_at":"2017-03-28T19:25:12Z","html_url":"https://github.com/openhab/openhab2-addons/pull/2088#discussion_r108512944","pull_request_url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/2088","_links":{"self":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/comments/108512944"},"html":{"href":"https://github.com/openhab/openhab2-addons/pull/2088#discussion_r108512944"},"pull_request":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/2088"}}},"pull_request":{"url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/2088","id":112763222,"html_url":"https://github.com/openhab/openhab2-addons/pull/2088","diff_url":"https://github.com/openhab/openhab2-addons/pull/2088.diff","patch_url":"https://github.com/openhab/openhab2-addons/pull/2088.patch","issue_url":"https://api.github.com/repos/openhab/openhab2-addons/issues/2088","number":2088,"state":"open","locked":false,"title":"Removed logger messages that are not constants","user":{"login":"svilenvul","id":7120104,"avatar_url":"https://avatars3.githubusercontent.com/u/7120104?v=3","gravatar_id":"","url":"https://api.github.com/users/svilenvul","html_url":"https://github.com/svilenvul","followers_url":"https://api.github.com/users/svilenvul/followers","following_url":"https://api.github.com/users/svilenvul/following{/other_user}","gists_url":"https://api.github.com/users/svilenvul/gists{/gist_id}","starred_url":"https://api.github.com/users/svilenvul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svilenvul/subscriptions","organizations_url":"https://api.github.com/users/svilenvul/orgs","repos_url":"https://api.github.com/users/svilenvul/repos","events_url":"https://api.github.com/users/svilenvul/events{/privacy}","received_events_url":"https://api.github.com/users/svilenvul/received_events","type":"User","site_admin":false},"body":"See #https://github.com/openhab/static-code-analysis/issues/20#issuecomment-288009427\r\n\r\nSigned-off-by: Svilen Valkanov <svilen.valkanov@musala.com>","created_at":"2017-03-27T14:49:34Z","updated_at":"2017-03-28T19:25:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3b69a42c7be1d1601d364aba67d9e6c2e636b906","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/2088/commits","review_comments_url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/2088/comments","review_comment_url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openhab/openhab2-addons/issues/2088/comments","statuses_url":"https://api.github.com/repos/openhab/openhab2-addons/statuses/d14b21555b1f2cfd59ac87b00c9bd6423cd8335d","head":{"label":"MusalaSoft:fix-logging-messages","ref":"fix-logging-messages","sha":"d14b21555b1f2cfd59ac87b00c9bd6423cd8335d","user":{"login":"MusalaSoft","id":19668691,"avatar_url":"https://avatars3.githubusercontent.com/u/19668691?v=3","gravatar_id":"","url":"https://api.github.com/users/MusalaSoft","html_url":"https://github.com/MusalaSoft","followers_url":"https://api.github.com/users/MusalaSoft/followers","following_url":"https://api.github.com/users/MusalaSoft/following{/other_user}","gists_url":"https://api.github.com/users/MusalaSoft/gists{/gist_id}","starred_url":"https://api.github.com/users/MusalaSoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MusalaSoft/subscriptions","organizations_url":"https://api.github.com/users/MusalaSoft/orgs","repos_url":"https://api.github.com/users/MusalaSoft/repos","events_url":"https://api.github.com/users/MusalaSoft/events{/privacy}","received_events_url":"https://api.github.com/users/MusalaSoft/received_events","type":"Organization","site_admin":false},"repo":{"id":63844988,"name":"openhab2-addons","full_name":"MusalaSoft/openhab2-addons","owner":{"login":"MusalaSoft","id":19668691,"avatar_url":"https://avatars3.githubusercontent.com/u/19668691?v=3","gravatar_id":"","url":"https://api.github.com/users/MusalaSoft","html_url":"https://github.com/MusalaSoft","followers_url":"https://api.github.com/users/MusalaSoft/followers","following_url":"https://api.github.com/users/MusalaSoft/following{/other_user}","gists_url":"https://api.github.com/users/MusalaSoft/gists{/gist_id}","starred_url":"https://api.github.com/users/MusalaSoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MusalaSoft/subscriptions","organizations_url":"https://api.github.com/users/MusalaSoft/orgs","repos_url":"https://api.github.com/users/MusalaSoft/repos","events_url":"https://api.github.com/users/MusalaSoft/events{/privacy}","received_events_url":"https://api.github.com/users/MusalaSoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MusalaSoft/openhab2-addons","description":"The next-generation open Home Automation Bus (openHAB)","fork":true,"url":"https://api.github.com/repos/MusalaSoft/openhab2-addons","forks_url":"https://api.github.com/repos/MusalaSoft/openhab2-addons/forks","keys_url":"https://api.github.com/repos/MusalaSoft/openhab2-addons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MusalaSoft/openhab2-addons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MusalaSoft/openhab2-addons/teams","hooks_url":"https://api.github.com/repos/MusalaSoft/openhab2-addons/hooks","issue_events_url":"https://api.github.com/repos/MusalaSoft/openhab2-addons/issues/events{/number}","events_url":"https://api.github.com/repos/MusalaSoft/openhab2-addons/events","assignees_url":"https://api.github.com/repos/MusalaSoft/openhab2-addons/assignees{/user}","branches_url":"https://api.github.com/repos/MusalaSoft/openhab2-addons/branches{/branch}","tags_url":"https://api.github.com/repos/MusalaSoft/openhab2-addons/tags","blobs_url":"https://api.github.com/repos/MusalaSoft/openhab2-addons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MusalaSoft/openhab2-addons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MusalaSoft/openhab2-addons/git/refs{/sha}","trees_url":"https://api.github.com/repos/MusalaSoft/openhab2-addons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MusalaSoft/openhab2-addons/statuses/{sha}","languages_url":"https://api.github.com/repos/MusalaSoft/openhab2-addons/languages","stargazers_url":"https://api.github.com/repos/MusalaSoft/openhab2-addons/stargazers","contributors_url":"https://api.github.com/repos/MusalaSoft/openhab2-addons/contributors","subscribers_url":"https://api.github.com/repos/MusalaSoft/openhab2-addons/subscribers","subscription_url":"https://api.github.com/repos/MusalaSoft/openhab2-addons/subscription","commits_url":"https://api.github.com/repos/MusalaSoft/openhab2-addons/commits{/sha}","git_commits_url":"https://api.github.com/repos/MusalaSoft/openhab2-addons/git/commits{/sha}","comments_url":"https://api.github.com/repos/MusalaSoft/openhab2-addons/comments{/number}","issue_comment_url":"https://api.github.com/repos/MusalaSoft/openhab2-addons/issues/comments{/number}","contents_url":"https://api.github.com/repos/MusalaSoft/openhab2-addons/contents/{+path}","compare_url":"https://api.github.com/repos/MusalaSoft/openhab2-addons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MusalaSoft/openhab2-addons/merges","archive_url":"https://api.github.com/repos/MusalaSoft/openhab2-addons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MusalaSoft/openhab2-addons/downloads","issues_url":"https://api.github.com/repos/MusalaSoft/openhab2-addons/issues{/number}","pulls_url":"https://api.github.com/repos/MusalaSoft/openhab2-addons/pulls{/number}","milestones_url":"https://api.github.com/repos/MusalaSoft/openhab2-addons/milestones{/number}","notifications_url":"https://api.github.com/repos/MusalaSoft/openhab2-addons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MusalaSoft/openhab2-addons/labels{/name}","releases_url":"https://api.github.com/repos/MusalaSoft/openhab2-addons/releases{/id}","deployments_url":"https://api.github.com/repos/MusalaSoft/openhab2-addons/deployments","created_at":"2016-07-21T06:57:59Z","updated_at":"2016-07-21T06:58:05Z","pushed_at":"2017-03-28T08:27:33Z","git_url":"git://github.com/MusalaSoft/openhab2-addons.git","ssh_url":"git@github.com:MusalaSoft/openhab2-addons.git","clone_url":"https://github.com/MusalaSoft/openhab2-addons.git","svn_url":"https://github.com/MusalaSoft/openhab2-addons","homepage":null,"size":77109,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"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":"openhab:master","ref":"master","sha":"4b0cd584e075ddd807ab9360e812dc0b9cf5d24f","user":{"login":"openhab","id":1007353,"avatar_url":"https://avatars3.githubusercontent.com/u/1007353?v=3","gravatar_id":"","url":"https://api.github.com/users/openhab","html_url":"https://github.com/openhab","followers_url":"https://api.github.com/users/openhab/followers","following_url":"https://api.github.com/users/openhab/following{/other_user}","gists_url":"https://api.github.com/users/openhab/gists{/gist_id}","starred_url":"https://api.github.com/users/openhab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openhab/subscriptions","organizations_url":"https://api.github.com/users/openhab/orgs","repos_url":"https://api.github.com/users/openhab/repos","events_url":"https://api.github.com/users/openhab/events{/privacy}","received_events_url":"https://api.github.com/users/openhab/received_events","type":"Organization","site_admin":false},"repo":{"id":19753195,"name":"openhab2-addons","full_name":"openhab/openhab2-addons","owner":{"login":"openhab","id":1007353,"avatar_url":"https://avatars3.githubusercontent.com/u/1007353?v=3","gravatar_id":"","url":"https://api.github.com/users/openhab","html_url":"https://github.com/openhab","followers_url":"https://api.github.com/users/openhab/followers","following_url":"https://api.github.com/users/openhab/following{/other_user}","gists_url":"https://api.github.com/users/openhab/gists{/gist_id}","starred_url":"https://api.github.com/users/openhab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openhab/subscriptions","organizations_url":"https://api.github.com/users/openhab/orgs","repos_url":"https://api.github.com/users/openhab/repos","events_url":"https://api.github.com/users/openhab/events{/privacy}","received_events_url":"https://api.github.com/users/openhab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openhab/openhab2-addons","description":"Add-ons for openHAB 2.x","fork":false,"url":"https://api.github.com/repos/openhab/openhab2-addons","forks_url":"https://api.github.com/repos/openhab/openhab2-addons/forks","keys_url":"https://api.github.com/repos/openhab/openhab2-addons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openhab/openhab2-addons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openhab/openhab2-addons/teams","hooks_url":"https://api.github.com/repos/openhab/openhab2-addons/hooks","issue_events_url":"https://api.github.com/repos/openhab/openhab2-addons/issues/events{/number}","events_url":"https://api.github.com/repos/openhab/openhab2-addons/events","assignees_url":"https://api.github.com/repos/openhab/openhab2-addons/assignees{/user}","branches_url":"https://api.github.com/repos/openhab/openhab2-addons/branches{/branch}","tags_url":"https://api.github.com/repos/openhab/openhab2-addons/tags","blobs_url":"https://api.github.com/repos/openhab/openhab2-addons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openhab/openhab2-addons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openhab/openhab2-addons/git/refs{/sha}","trees_url":"https://api.github.com/repos/openhab/openhab2-addons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openhab/openhab2-addons/statuses/{sha}","languages_url":"https://api.github.com/repos/openhab/openhab2-addons/languages","stargazers_url":"https://api.github.com/repos/openhab/openhab2-addons/stargazers","contributors_url":"https://api.github.com/repos/openhab/openhab2-addons/contributors","subscribers_url":"https://api.github.com/repos/openhab/openhab2-addons/subscribers","subscription_url":"https://api.github.com/repos/openhab/openhab2-addons/subscription","commits_url":"https://api.github.com/repos/openhab/openhab2-addons/commits{/sha}","git_commits_url":"https://api.github.com/repos/openhab/openhab2-addons/git/commits{/sha}","comments_url":"https://api.github.com/repos/openhab/openhab2-addons/comments{/number}","issue_comment_url":"https://api.github.com/repos/openhab/openhab2-addons/issues/comments{/number}","contents_url":"https://api.github.com/repos/openhab/openhab2-addons/contents/{+path}","compare_url":"https://api.github.com/repos/openhab/openhab2-addons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openhab/openhab2-addons/merges","archive_url":"https://api.github.com/repos/openhab/openhab2-addons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openhab/openhab2-addons/downloads","issues_url":"https://api.github.com/repos/openhab/openhab2-addons/issues{/number}","pulls_url":"https://api.github.com/repos/openhab/openhab2-addons/pulls{/number}","milestones_url":"https://api.github.com/repos/openhab/openhab2-addons/milestones{/number}","notifications_url":"https://api.github.com/repos/openhab/openhab2-addons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openhab/openhab2-addons/labels{/name}","releases_url":"https://api.github.com/repos/openhab/openhab2-addons/releases{/id}","deployments_url":"https://api.github.com/repos/openhab/openhab2-addons/deployments","created_at":"2014-05-13T19:41:58Z","updated_at":"2017-03-27T18:42:18Z","pushed_at":"2017-03-28T16:00:42Z","git_url":"git://github.com/openhab/openhab2-addons.git","ssh_url":"git@github.com:openhab/openhab2-addons.git","clone_url":"https://github.com/openhab/openhab2-addons.git","svn_url":"https://github.com/openhab/openhab2-addons","homepage":"","size":74223,"stargazers_count":546,"watchers_count":546,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":906,"mirror_url":null,"open_issues_count":311,"forks":906,"open_issues":311,"watchers":546,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/2088"},"html":{"href":"https://github.com/openhab/openhab2-addons/pull/2088"},"issue":{"href":"https://api.github.com/repos/openhab/openhab2-addons/issues/2088"},"comments":{"href":"https://api.github.com/repos/openhab/openhab2-addons/issues/2088/comments"},"review_comments":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/2088/comments"},"review_comment":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/2088/commits"},"statuses":{"href":"https://api.github.com/repos/openhab/openhab2-addons/statuses/d14b21555b1f2cfd59ac87b00c9bd6423cd8335d"}}}}
{"actor":{"display_login":"martinvw"}}