{"action":"created","comment":{"url":"https://api.github.com/repos/Promact/promact-oauth-server/pulls/comments/84037491","pull_request_review_id":4839095,"id":84037491,"diff_hunk":"@@ -177,8 +178,24 @@ public IActionResult GetRole()\n                 }\n                 return Ok(false);\n             }\n+            catch (InvalidApiRequestException apiEx)","path":"Promact.Oauth.Server/src/Promact.Oauth.Server/Controllers/UserController.cs","position":12,"original_position":12,"commit_id":"76ad47ffcc8eb73a7ed336556b7b1a7caabc6de8","original_commit_id":"76ad47ffcc8eb73a7ed336556b7b1a7caabc6de8","user":{"login":"chintans","id":5684450,"avatar_url":"https://avatars.githubusercontent.com/u/5684450?v=3","gravatar_id":"","url":"https://api.github.com/users/chintans","html_url":"https://github.com/chintans","followers_url":"https://api.github.com/users/chintans/followers","following_url":"https://api.github.com/users/chintans/following{/other_user}","gists_url":"https://api.github.com/users/chintans/gists{/gist_id}","starred_url":"https://api.github.com/users/chintans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chintans/subscriptions","organizations_url":"https://api.github.com/users/chintans/orgs","repos_url":"https://api.github.com/users/chintans/repos","events_url":"https://api.github.com/users/chintans/events{/privacy}","received_events_url":"https://api.github.com/users/chintans/received_events","type":"User","site_admin":false},"body":"comments as above","created_at":"2016-10-19T10:09:25Z","updated_at":"2016-10-19T10:10:13Z","html_url":"https://github.com/Promact/promact-oauth-server/pull/118#discussion_r84037491","pull_request_url":"https://api.github.com/repos/Promact/promact-oauth-server/pulls/118","_links":{"self":{"href":"https://api.github.com/repos/Promact/promact-oauth-server/pulls/comments/84037491"},"html":{"href":"https://github.com/Promact/promact-oauth-server/pull/118#discussion_r84037491"},"pull_request":{"href":"https://api.github.com/repos/Promact/promact-oauth-server/pulls/118"}}},"pull_request":{"url":"https://api.github.com/repos/Promact/promact-oauth-server/pulls/118","id":89566426,"html_url":"https://github.com/Promact/promact-oauth-server/pull/118","diff_url":"https://github.com/Promact/promact-oauth-server/pull/118.diff","patch_url":"https://github.com/Promact/promact-oauth-server/pull/118.patch","issue_url":"https://api.github.com/repos/Promact/promact-oauth-server/issues/118","number":118,"state":"open","locked":false,"title":"Logger added in SendGrid email sending implementation and exception t…","user":{"login":"juliepromact","id":13060195,"avatar_url":"https://avatars.githubusercontent.com/u/13060195?v=3","gravatar_id":"","url":"https://api.github.com/users/juliepromact","html_url":"https://github.com/juliepromact","followers_url":"https://api.github.com/users/juliepromact/followers","following_url":"https://api.github.com/users/juliepromact/following{/other_user}","gists_url":"https://api.github.com/users/juliepromact/gists{/gist_id}","starred_url":"https://api.github.com/users/juliepromact/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliepromact/subscriptions","organizations_url":"https://api.github.com/users/juliepromact/orgs","repos_url":"https://api.github.com/users/juliepromact/repos","events_url":"https://api.github.com/users/juliepromact/events{/privacy}","received_events_url":"https://api.github.com/users/juliepromact/received_events","type":"User","site_admin":false},"body":"Logger added in SendGrid email sending implementation and exception thrown. This is done to check the issue in sending mail using SendGrid on live(Azure) as per Issue #96 \r\n\r\n**Files Changed:**\r\n\r\n1. **AccountController.cs** :  try - catch added in ForgotPassword method.  \r\n2. **UserController.cs** : try-catch added in ReSendMail and catch added in RegisterUser method .\r\n3. **UserRepository.cs** : try-catch removed from UserAdd method.\r\n4. **SendGridEmailSender.cs** : logger added in SendGridEmailSender.cs","created_at":"2016-10-17T06:22:41Z","updated_at":"2016-10-19T10:10:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"41964862031a7e7d534b6c21e827e16c97f8d84e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Promact/promact-oauth-server/pulls/118/commits","review_comments_url":"https://api.github.com/repos/Promact/promact-oauth-server/pulls/118/comments","review_comment_url":"https://api.github.com/repos/Promact/promact-oauth-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Promact/promact-oauth-server/issues/118/comments","statuses_url":"https://api.github.com/repos/Promact/promact-oauth-server/statuses/76ad47ffcc8eb73a7ed336556b7b1a7caabc6de8","head":{"label":"Promact:loggerInSendGridImplementation","ref":"loggerInSendGridImplementation","sha":"76ad47ffcc8eb73a7ed336556b7b1a7caabc6de8","user":{"login":"Promact","id":7643214,"avatar_url":"https://avatars.githubusercontent.com/u/7643214?v=3","gravatar_id":"","url":"https://api.github.com/users/Promact","html_url":"https://github.com/Promact","followers_url":"https://api.github.com/users/Promact/followers","following_url":"https://api.github.com/users/Promact/following{/other_user}","gists_url":"https://api.github.com/users/Promact/gists{/gist_id}","starred_url":"https://api.github.com/users/Promact/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Promact/subscriptions","organizations_url":"https://api.github.com/users/Promact/orgs","repos_url":"https://api.github.com/users/Promact/repos","events_url":"https://api.github.com/users/Promact/events{/privacy}","received_events_url":"https://api.github.com/users/Promact/received_events","type":"Organization","site_admin":false},"repo":{"id":63698487,"name":"promact-oauth-server","full_name":"Promact/promact-oauth-server","owner":{"login":"Promact","id":7643214,"avatar_url":"https://avatars.githubusercontent.com/u/7643214?v=3","gravatar_id":"","url":"https://api.github.com/users/Promact","html_url":"https://github.com/Promact","followers_url":"https://api.github.com/users/Promact/followers","following_url":"https://api.github.com/users/Promact/following{/other_user}","gists_url":"https://api.github.com/users/Promact/gists{/gist_id}","starred_url":"https://api.github.com/users/Promact/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Promact/subscriptions","organizations_url":"https://api.github.com/users/Promact/orgs","repos_url":"https://api.github.com/users/Promact/repos","events_url":"https://api.github.com/users/Promact/events{/privacy}","received_events_url":"https://api.github.com/users/Promact/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Promact/promact-oauth-server","description":"OAuth server to authenticate logins for different promact in house applications.","fork":false,"url":"https://api.github.com/repos/Promact/promact-oauth-server","forks_url":"https://api.github.com/repos/Promact/promact-oauth-server/forks","keys_url":"https://api.github.com/repos/Promact/promact-oauth-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Promact/promact-oauth-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Promact/promact-oauth-server/teams","hooks_url":"https://api.github.com/repos/Promact/promact-oauth-server/hooks","issue_events_url":"https://api.github.com/repos/Promact/promact-oauth-server/issues/events{/number}","events_url":"https://api.github.com/repos/Promact/promact-oauth-server/events","assignees_url":"https://api.github.com/repos/Promact/promact-oauth-server/assignees{/user}","branches_url":"https://api.github.com/repos/Promact/promact-oauth-server/branches{/branch}","tags_url":"https://api.github.com/repos/Promact/promact-oauth-server/tags","blobs_url":"https://api.github.com/repos/Promact/promact-oauth-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Promact/promact-oauth-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Promact/promact-oauth-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/Promact/promact-oauth-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Promact/promact-oauth-server/statuses/{sha}","languages_url":"https://api.github.com/repos/Promact/promact-oauth-server/languages","stargazers_url":"https://api.github.com/repos/Promact/promact-oauth-server/stargazers","contributors_url":"https://api.github.com/repos/Promact/promact-oauth-server/contributors","subscribers_url":"https://api.github.com/repos/Promact/promact-oauth-server/subscribers","subscription_url":"https://api.github.com/repos/Promact/promact-oauth-server/subscription","commits_url":"https://api.github.com/repos/Promact/promact-oauth-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/Promact/promact-oauth-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/Promact/promact-oauth-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/Promact/promact-oauth-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/Promact/promact-oauth-server/contents/{+path}","compare_url":"https://api.github.com/repos/Promact/promact-oauth-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Promact/promact-oauth-server/merges","archive_url":"https://api.github.com/repos/Promact/promact-oauth-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Promact/promact-oauth-server/downloads","issues_url":"https://api.github.com/repos/Promact/promact-oauth-server/issues{/number}","pulls_url":"https://api.github.com/repos/Promact/promact-oauth-server/pulls{/number}","milestones_url":"https://api.github.com/repos/Promact/promact-oauth-server/milestones{/number}","notifications_url":"https://api.github.com/repos/Promact/promact-oauth-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Promact/promact-oauth-server/labels{/name}","releases_url":"https://api.github.com/repos/Promact/promact-oauth-server/releases{/id}","deployments_url":"https://api.github.com/repos/Promact/promact-oauth-server/deployments","created_at":"2016-07-19T13:58:48Z","updated_at":"2016-07-27T05:13:11Z","pushed_at":"2016-10-19T09:30:33Z","git_url":"git://github.com/Promact/promact-oauth-server.git","ssh_url":"git@github.com:Promact/promact-oauth-server.git","clone_url":"https://github.com/Promact/promact-oauth-server.git","svn_url":"https://github.com/Promact/promact-oauth-server","homepage":null,"size":4465,"stargazers_count":1,"watchers_count":1,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":28,"forks":0,"open_issues":28,"watchers":1,"default_branch":"master"}},"base":{"label":"Promact:dev","ref":"dev","sha":"0344d940bf95d4670955f91457cddb858d1f2719","user":{"login":"Promact","id":7643214,"avatar_url":"https://avatars.githubusercontent.com/u/7643214?v=3","gravatar_id":"","url":"https://api.github.com/users/Promact","html_url":"https://github.com/Promact","followers_url":"https://api.github.com/users/Promact/followers","following_url":"https://api.github.com/users/Promact/following{/other_user}","gists_url":"https://api.github.com/users/Promact/gists{/gist_id}","starred_url":"https://api.github.com/users/Promact/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Promact/subscriptions","organizations_url":"https://api.github.com/users/Promact/orgs","repos_url":"https://api.github.com/users/Promact/repos","events_url":"https://api.github.com/users/Promact/events{/privacy}","received_events_url":"https://api.github.com/users/Promact/received_events","type":"Organization","site_admin":false},"repo":{"id":63698487,"name":"promact-oauth-server","full_name":"Promact/promact-oauth-server","owner":{"login":"Promact","id":7643214,"avatar_url":"https://avatars.githubusercontent.com/u/7643214?v=3","gravatar_id":"","url":"https://api.github.com/users/Promact","html_url":"https://github.com/Promact","followers_url":"https://api.github.com/users/Promact/followers","following_url":"https://api.github.com/users/Promact/following{/other_user}","gists_url":"https://api.github.com/users/Promact/gists{/gist_id}","starred_url":"https://api.github.com/users/Promact/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Promact/subscriptions","organizations_url":"https://api.github.com/users/Promact/orgs","repos_url":"https://api.github.com/users/Promact/repos","events_url":"https://api.github.com/users/Promact/events{/privacy}","received_events_url":"https://api.github.com/users/Promact/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Promact/promact-oauth-server","description":"OAuth server to authenticate logins for different promact in house applications.","fork":false,"url":"https://api.github.com/repos/Promact/promact-oauth-server","forks_url":"https://api.github.com/repos/Promact/promact-oauth-server/forks","keys_url":"https://api.github.com/repos/Promact/promact-oauth-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Promact/promact-oauth-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Promact/promact-oauth-server/teams","hooks_url":"https://api.github.com/repos/Promact/promact-oauth-server/hooks","issue_events_url":"https://api.github.com/repos/Promact/promact-oauth-server/issues/events{/number}","events_url":"https://api.github.com/repos/Promact/promact-oauth-server/events","assignees_url":"https://api.github.com/repos/Promact/promact-oauth-server/assignees{/user}","branches_url":"https://api.github.com/repos/Promact/promact-oauth-server/branches{/branch}","tags_url":"https://api.github.com/repos/Promact/promact-oauth-server/tags","blobs_url":"https://api.github.com/repos/Promact/promact-oauth-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Promact/promact-oauth-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Promact/promact-oauth-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/Promact/promact-oauth-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Promact/promact-oauth-server/statuses/{sha}","languages_url":"https://api.github.com/repos/Promact/promact-oauth-server/languages","stargazers_url":"https://api.github.com/repos/Promact/promact-oauth-server/stargazers","contributors_url":"https://api.github.com/repos/Promact/promact-oauth-server/contributors","subscribers_url":"https://api.github.com/repos/Promact/promact-oauth-server/subscribers","subscription_url":"https://api.github.com/repos/Promact/promact-oauth-server/subscription","commits_url":"https://api.github.com/repos/Promact/promact-oauth-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/Promact/promact-oauth-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/Promact/promact-oauth-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/Promact/promact-oauth-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/Promact/promact-oauth-server/contents/{+path}","compare_url":"https://api.github.com/repos/Promact/promact-oauth-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Promact/promact-oauth-server/merges","archive_url":"https://api.github.com/repos/Promact/promact-oauth-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Promact/promact-oauth-server/downloads","issues_url":"https://api.github.com/repos/Promact/promact-oauth-server/issues{/number}","pulls_url":"https://api.github.com/repos/Promact/promact-oauth-server/pulls{/number}","milestones_url":"https://api.github.com/repos/Promact/promact-oauth-server/milestones{/number}","notifications_url":"https://api.github.com/repos/Promact/promact-oauth-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Promact/promact-oauth-server/labels{/name}","releases_url":"https://api.github.com/repos/Promact/promact-oauth-server/releases{/id}","deployments_url":"https://api.github.com/repos/Promact/promact-oauth-server/deployments","created_at":"2016-07-19T13:58:48Z","updated_at":"2016-07-27T05:13:11Z","pushed_at":"2016-10-19T09:30:33Z","git_url":"git://github.com/Promact/promact-oauth-server.git","ssh_url":"git@github.com:Promact/promact-oauth-server.git","clone_url":"https://github.com/Promact/promact-oauth-server.git","svn_url":"https://github.com/Promact/promact-oauth-server","homepage":null,"size":4465,"stargazers_count":1,"watchers_count":1,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":28,"forks":0,"open_issues":28,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Promact/promact-oauth-server/pulls/118"},"html":{"href":"https://github.com/Promact/promact-oauth-server/pull/118"},"issue":{"href":"https://api.github.com/repos/Promact/promact-oauth-server/issues/118"},"comments":{"href":"https://api.github.com/repos/Promact/promact-oauth-server/issues/118/comments"},"review_comments":{"href":"https://api.github.com/repos/Promact/promact-oauth-server/pulls/118/comments"},"review_comment":{"href":"https://api.github.com/repos/Promact/promact-oauth-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Promact/promact-oauth-server/pulls/118/commits"},"statuses":{"href":"https://api.github.com/repos/Promact/promact-oauth-server/statuses/76ad47ffcc8eb73a7ed336556b7b1a7caabc6de8"}}}}
{"actor":{"display_login":"chintans"}}