{"action":"created","comment":{"url":"https://api.github.com/repos/evercam/evercam-media/pulls/comments/71977685","id":71977685,"diff_hunk":"@@ -107,7 +107,7 @@ defmodule EvercamMedia.UserController do\n           end\n \n           if user |> Intercom.get_user |> intercom_user? do\n-            render_error(conn, 400, \"User already present at intercom.\")\n+            Logger.info \"User already present at Intercom.\"","path":"web/controllers/user_controller.ex","position":5,"original_position":5,"commit_id":"e59c5e07a1e16b48bc409eeab7b261c4649932a2","original_commit_id":"e59c5e07a1e16b48bc409eeab7b261c4649932a2","user":{"login":"mosic","id":1229422,"avatar_url":"https://avatars.githubusercontent.com/u/1229422?v=3","gravatar_id":"","url":"https://api.github.com/users/mosic","html_url":"https://github.com/mosic","followers_url":"https://api.github.com/users/mosic/followers","following_url":"https://api.github.com/users/mosic/following{/other_user}","gists_url":"https://api.github.com/users/mosic/gists{/gist_id}","starred_url":"https://api.github.com/users/mosic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mosic/subscriptions","organizations_url":"https://api.github.com/users/mosic/orgs","repos_url":"https://api.github.com/users/mosic/repos","events_url":"https://api.github.com/users/mosic/events{/privacy}","received_events_url":"https://api.github.com/users/mosic/received_events","type":"User","site_admin":false},"body":"Also it's always good to include information that could help you debug problems after seeing them in the logs. In this case, this would suffice: https://github.com/evercam/evercam-media/commit/21143ece5838f2ebaa4508baed72273832817ff7\r\n\r\nOtherwise just logging a message would be meaningless.","created_at":"2016-07-23T20:20:20Z","updated_at":"2016-07-23T20:20:20Z","html_url":"https://github.com/evercam/evercam-media/pull/326#discussion_r71977685","pull_request_url":"https://api.github.com/repos/evercam/evercam-media/pulls/326","_links":{"self":{"href":"https://api.github.com/repos/evercam/evercam-media/pulls/comments/71977685"},"html":{"href":"https://github.com/evercam/evercam-media/pull/326#discussion_r71977685"},"pull_request":{"href":"https://api.github.com/repos/evercam/evercam-media/pulls/326"}}},"pull_request":{"url":"https://api.github.com/repos/evercam/evercam-media/pulls/326","id":78558751,"html_url":"https://github.com/evercam/evercam-media/pull/326","diff_url":"https://github.com/evercam/evercam-media/pull/326.diff","patch_url":"https://github.com/evercam/evercam-media/pull/326.patch","issue_url":"https://api.github.com/repos/evercam/evercam-media/issues/326","number":326,"state":"closed","locked":false,"title":"Camera isnt shared with share key","user":{"login":"ijunaidfarooq","id":13561999,"avatar_url":"https://avatars.githubusercontent.com/u/13561999?v=3","gravatar_id":"","url":"https://api.github.com/users/ijunaidfarooq","html_url":"https://github.com/ijunaidfarooq","followers_url":"https://api.github.com/users/ijunaidfarooq/followers","following_url":"https://api.github.com/users/ijunaidfarooq/following{/other_user}","gists_url":"https://api.github.com/users/ijunaidfarooq/gists{/gist_id}","starred_url":"https://api.github.com/users/ijunaidfarooq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ijunaidfarooq/subscriptions","organizations_url":"https://api.github.com/users/ijunaidfarooq/orgs","repos_url":"https://api.github.com/users/ijunaidfarooq/repos","events_url":"https://api.github.com/users/ijunaidfarooq/events{/privacy}","received_events_url":"https://api.github.com/users/ijunaidfarooq/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-23T01:09:18Z","updated_at":"2016-07-23T20:20:20Z","closed_at":"2016-07-23T18:59:44Z","merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/evercam/evercam-media/pulls/326/commits","review_comments_url":"https://api.github.com/repos/evercam/evercam-media/pulls/326/comments","review_comment_url":"https://api.github.com/repos/evercam/evercam-media/pulls/comments{/number}","comments_url":"https://api.github.com/repos/evercam/evercam-media/issues/326/comments","statuses_url":"https://api.github.com/repos/evercam/evercam-media/statuses/e59c5e07a1e16b48bc409eeab7b261c4649932a2","head":{"label":"evercam:camera_isnt_shared_with_share_key","ref":"camera_isnt_shared_with_share_key","sha":"e59c5e07a1e16b48bc409eeab7b261c4649932a2","user":{"login":"evercam","id":5575404,"avatar_url":"https://avatars.githubusercontent.com/u/5575404?v=3","gravatar_id":"","url":"https://api.github.com/users/evercam","html_url":"https://github.com/evercam","followers_url":"https://api.github.com/users/evercam/followers","following_url":"https://api.github.com/users/evercam/following{/other_user}","gists_url":"https://api.github.com/users/evercam/gists{/gist_id}","starred_url":"https://api.github.com/users/evercam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evercam/subscriptions","organizations_url":"https://api.github.com/users/evercam/orgs","repos_url":"https://api.github.com/users/evercam/repos","events_url":"https://api.github.com/users/evercam/events{/privacy}","received_events_url":"https://api.github.com/users/evercam/received_events","type":"Organization","site_admin":false},"repo":{"id":32446226,"name":"evercam-media","full_name":"evercam/evercam-media","owner":{"login":"evercam","id":5575404,"avatar_url":"https://avatars.githubusercontent.com/u/5575404?v=3","gravatar_id":"","url":"https://api.github.com/users/evercam","html_url":"https://github.com/evercam","followers_url":"https://api.github.com/users/evercam/followers","following_url":"https://api.github.com/users/evercam/following{/other_user}","gists_url":"https://api.github.com/users/evercam/gists{/gist_id}","starred_url":"https://api.github.com/users/evercam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evercam/subscriptions","organizations_url":"https://api.github.com/users/evercam/orgs","repos_url":"https://api.github.com/users/evercam/repos","events_url":"https://api.github.com/users/evercam/events{/privacy}","received_events_url":"https://api.github.com/users/evercam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/evercam/evercam-media","description":"Proxy between Cameras, the API, Storage & Clients.","fork":false,"url":"https://api.github.com/repos/evercam/evercam-media","forks_url":"https://api.github.com/repos/evercam/evercam-media/forks","keys_url":"https://api.github.com/repos/evercam/evercam-media/keys{/key_id}","collaborators_url":"https://api.github.com/repos/evercam/evercam-media/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/evercam/evercam-media/teams","hooks_url":"https://api.github.com/repos/evercam/evercam-media/hooks","issue_events_url":"https://api.github.com/repos/evercam/evercam-media/issues/events{/number}","events_url":"https://api.github.com/repos/evercam/evercam-media/events","assignees_url":"https://api.github.com/repos/evercam/evercam-media/assignees{/user}","branches_url":"https://api.github.com/repos/evercam/evercam-media/branches{/branch}","tags_url":"https://api.github.com/repos/evercam/evercam-media/tags","blobs_url":"https://api.github.com/repos/evercam/evercam-media/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/evercam/evercam-media/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/evercam/evercam-media/git/refs{/sha}","trees_url":"https://api.github.com/repos/evercam/evercam-media/git/trees{/sha}","statuses_url":"https://api.github.com/repos/evercam/evercam-media/statuses/{sha}","languages_url":"https://api.github.com/repos/evercam/evercam-media/languages","stargazers_url":"https://api.github.com/repos/evercam/evercam-media/stargazers","contributors_url":"https://api.github.com/repos/evercam/evercam-media/contributors","subscribers_url":"https://api.github.com/repos/evercam/evercam-media/subscribers","subscription_url":"https://api.github.com/repos/evercam/evercam-media/subscription","commits_url":"https://api.github.com/repos/evercam/evercam-media/commits{/sha}","git_commits_url":"https://api.github.com/repos/evercam/evercam-media/git/commits{/sha}","comments_url":"https://api.github.com/repos/evercam/evercam-media/comments{/number}","issue_comment_url":"https://api.github.com/repos/evercam/evercam-media/issues/comments{/number}","contents_url":"https://api.github.com/repos/evercam/evercam-media/contents/{+path}","compare_url":"https://api.github.com/repos/evercam/evercam-media/compare/{base}...{head}","merges_url":"https://api.github.com/repos/evercam/evercam-media/merges","archive_url":"https://api.github.com/repos/evercam/evercam-media/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/evercam/evercam-media/downloads","issues_url":"https://api.github.com/repos/evercam/evercam-media/issues{/number}","pulls_url":"https://api.github.com/repos/evercam/evercam-media/pulls{/number}","milestones_url":"https://api.github.com/repos/evercam/evercam-media/milestones{/number}","notifications_url":"https://api.github.com/repos/evercam/evercam-media/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/evercam/evercam-media/labels{/name}","releases_url":"https://api.github.com/repos/evercam/evercam-media/releases{/id}","deployments_url":"https://api.github.com/repos/evercam/evercam-media/deployments","created_at":"2015-03-18T08:16:19Z","updated_at":"2016-07-12T20:39:04Z","pushed_at":"2016-07-23T20:18:15Z","git_url":"git://github.com/evercam/evercam-media.git","ssh_url":"git@github.com:evercam/evercam-media.git","clone_url":"https://github.com/evercam/evercam-media.git","svn_url":"https://github.com/evercam/evercam-media","homepage":"https://media.evercam.io/","size":1816,"stargazers_count":35,"watchers_count":35,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":87,"forks":8,"open_issues":87,"watchers":35,"default_branch":"master"}},"base":{"label":"evercam:master","ref":"master","sha":"5641605e85eb3f606312c5e220bb5cf0b7d00729","user":{"login":"evercam","id":5575404,"avatar_url":"https://avatars.githubusercontent.com/u/5575404?v=3","gravatar_id":"","url":"https://api.github.com/users/evercam","html_url":"https://github.com/evercam","followers_url":"https://api.github.com/users/evercam/followers","following_url":"https://api.github.com/users/evercam/following{/other_user}","gists_url":"https://api.github.com/users/evercam/gists{/gist_id}","starred_url":"https://api.github.com/users/evercam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evercam/subscriptions","organizations_url":"https://api.github.com/users/evercam/orgs","repos_url":"https://api.github.com/users/evercam/repos","events_url":"https://api.github.com/users/evercam/events{/privacy}","received_events_url":"https://api.github.com/users/evercam/received_events","type":"Organization","site_admin":false},"repo":{"id":32446226,"name":"evercam-media","full_name":"evercam/evercam-media","owner":{"login":"evercam","id":5575404,"avatar_url":"https://avatars.githubusercontent.com/u/5575404?v=3","gravatar_id":"","url":"https://api.github.com/users/evercam","html_url":"https://github.com/evercam","followers_url":"https://api.github.com/users/evercam/followers","following_url":"https://api.github.com/users/evercam/following{/other_user}","gists_url":"https://api.github.com/users/evercam/gists{/gist_id}","starred_url":"https://api.github.com/users/evercam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evercam/subscriptions","organizations_url":"https://api.github.com/users/evercam/orgs","repos_url":"https://api.github.com/users/evercam/repos","events_url":"https://api.github.com/users/evercam/events{/privacy}","received_events_url":"https://api.github.com/users/evercam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/evercam/evercam-media","description":"Proxy between Cameras, the API, Storage & Clients.","fork":false,"url":"https://api.github.com/repos/evercam/evercam-media","forks_url":"https://api.github.com/repos/evercam/evercam-media/forks","keys_url":"https://api.github.com/repos/evercam/evercam-media/keys{/key_id}","collaborators_url":"https://api.github.com/repos/evercam/evercam-media/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/evercam/evercam-media/teams","hooks_url":"https://api.github.com/repos/evercam/evercam-media/hooks","issue_events_url":"https://api.github.com/repos/evercam/evercam-media/issues/events{/number}","events_url":"https://api.github.com/repos/evercam/evercam-media/events","assignees_url":"https://api.github.com/repos/evercam/evercam-media/assignees{/user}","branches_url":"https://api.github.com/repos/evercam/evercam-media/branches{/branch}","tags_url":"https://api.github.com/repos/evercam/evercam-media/tags","blobs_url":"https://api.github.com/repos/evercam/evercam-media/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/evercam/evercam-media/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/evercam/evercam-media/git/refs{/sha}","trees_url":"https://api.github.com/repos/evercam/evercam-media/git/trees{/sha}","statuses_url":"https://api.github.com/repos/evercam/evercam-media/statuses/{sha}","languages_url":"https://api.github.com/repos/evercam/evercam-media/languages","stargazers_url":"https://api.github.com/repos/evercam/evercam-media/stargazers","contributors_url":"https://api.github.com/repos/evercam/evercam-media/contributors","subscribers_url":"https://api.github.com/repos/evercam/evercam-media/subscribers","subscription_url":"https://api.github.com/repos/evercam/evercam-media/subscription","commits_url":"https://api.github.com/repos/evercam/evercam-media/commits{/sha}","git_commits_url":"https://api.github.com/repos/evercam/evercam-media/git/commits{/sha}","comments_url":"https://api.github.com/repos/evercam/evercam-media/comments{/number}","issue_comment_url":"https://api.github.com/repos/evercam/evercam-media/issues/comments{/number}","contents_url":"https://api.github.com/repos/evercam/evercam-media/contents/{+path}","compare_url":"https://api.github.com/repos/evercam/evercam-media/compare/{base}...{head}","merges_url":"https://api.github.com/repos/evercam/evercam-media/merges","archive_url":"https://api.github.com/repos/evercam/evercam-media/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/evercam/evercam-media/downloads","issues_url":"https://api.github.com/repos/evercam/evercam-media/issues{/number}","pulls_url":"https://api.github.com/repos/evercam/evercam-media/pulls{/number}","milestones_url":"https://api.github.com/repos/evercam/evercam-media/milestones{/number}","notifications_url":"https://api.github.com/repos/evercam/evercam-media/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/evercam/evercam-media/labels{/name}","releases_url":"https://api.github.com/repos/evercam/evercam-media/releases{/id}","deployments_url":"https://api.github.com/repos/evercam/evercam-media/deployments","created_at":"2015-03-18T08:16:19Z","updated_at":"2016-07-12T20:39:04Z","pushed_at":"2016-07-23T20:18:15Z","git_url":"git://github.com/evercam/evercam-media.git","ssh_url":"git@github.com:evercam/evercam-media.git","clone_url":"https://github.com/evercam/evercam-media.git","svn_url":"https://github.com/evercam/evercam-media","homepage":"https://media.evercam.io/","size":1816,"stargazers_count":35,"watchers_count":35,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":87,"forks":8,"open_issues":87,"watchers":35,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/evercam/evercam-media/pulls/326"},"html":{"href":"https://github.com/evercam/evercam-media/pull/326"},"issue":{"href":"https://api.github.com/repos/evercam/evercam-media/issues/326"},"comments":{"href":"https://api.github.com/repos/evercam/evercam-media/issues/326/comments"},"review_comments":{"href":"https://api.github.com/repos/evercam/evercam-media/pulls/326/comments"},"review_comment":{"href":"https://api.github.com/repos/evercam/evercam-media/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/evercam/evercam-media/pulls/326/commits"},"statuses":{"href":"https://api.github.com/repos/evercam/evercam-media/statuses/e59c5e07a1e16b48bc409eeab7b261c4649932a2"}}}}
{"actor":{"display_login":"mosic"}}