{"action":"created","comment":{"url":"https://api.github.com/repos/edx/edx-proctoring/pulls/comments/237657793","pull_request_review_id":180013231,"id":237657793,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNzY1Nzc5Mw==","diff_hunk":"@@ -166,12 +166,15 @@ def on_exam_saved(self, exam):\n             url = self.exam_url.format(exam_id=external_id)\n         else:\n             url = self.create_exam_url\n-        log.debug('Saving exam to %r', url)\n+        log.info('Saving exam to %r', url)\n+        response = None\n         try:\n             response = self.session.post(url, json=exam)\n             data = response.json()\n-        except Exception:  # pylint: disable=broad-except\n-            log.exception('saving exam. %r', response.content)\n+        except Exception as exc:  # pylint: disable=broad-except\n+            # pylint: disable=no-member\n+            content = exc.response.content if hasattr(exc, 'response') else response.content\n+            log.exception('saving exam. %r', content)","path":"edx_proctoring/backends/rest.py","position":null,"original_position":15,"commit_id":"942950934ce11ba8ddf1a9126b6cd2b46dfb858a","original_commit_id":"1e39129ce2f6170066178d2e0ffd35768bf06d10","user":{"login":"davestgermain","id":6515020,"node_id":"MDQ6VXNlcjY1MTUwMjA=","avatar_url":"https://avatars0.githubusercontent.com/u/6515020?v=4","gravatar_id":"","url":"https://api.github.com/users/davestgermain","html_url":"https://github.com/davestgermain","followers_url":"https://api.github.com/users/davestgermain/followers","following_url":"https://api.github.com/users/davestgermain/following{/other_user}","gists_url":"https://api.github.com/users/davestgermain/gists{/gist_id}","starred_url":"https://api.github.com/users/davestgermain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davestgermain/subscriptions","organizations_url":"https://api.github.com/users/davestgermain/orgs","repos_url":"https://api.github.com/users/davestgermain/repos","events_url":"https://api.github.com/users/davestgermain/events{/privacy}","received_events_url":"https://api.github.com/users/davestgermain/received_events","type":"User","site_admin":false},"body":"I changed the line to 'failed to save exam'","created_at":"2018-11-29T21:04:23Z","updated_at":"2018-11-29T21:04:23Z","html_url":"https://github.com/edx/edx-proctoring/pull/467#discussion_r237657793","pull_request_url":"https://api.github.com/repos/edx/edx-proctoring/pulls/467","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/edx/edx-proctoring/pulls/comments/237657793"},"html":{"href":"https://github.com/edx/edx-proctoring/pull/467#discussion_r237657793"},"pull_request":{"href":"https://api.github.com/repos/edx/edx-proctoring/pulls/467"}},"in_reply_to_id":237594172},"pull_request":{"url":"https://api.github.com/repos/edx/edx-proctoring/pulls/467","id":234073474,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0MDczNDc0","html_url":"https://github.com/edx/edx-proctoring/pull/467","diff_url":"https://github.com/edx/edx-proctoring/pull/467.diff","patch_url":"https://github.com/edx/edx-proctoring/pull/467.patch","issue_url":"https://api.github.com/repos/edx/edx-proctoring/issues/467","number":467,"state":"open","locked":false,"title":"Added review dashboard launcher for instructor dashboard.","user":{"login":"davestgermain","id":6515020,"node_id":"MDQ6VXNlcjY1MTUwMjA=","avatar_url":"https://avatars0.githubusercontent.com/u/6515020?v=4","gravatar_id":"","url":"https://api.github.com/users/davestgermain","html_url":"https://github.com/davestgermain","followers_url":"https://api.github.com/users/davestgermain/followers","following_url":"https://api.github.com/users/davestgermain/following{/other_user}","gists_url":"https://api.github.com/users/davestgermain/gists{/gist_id}","starred_url":"https://api.github.com/users/davestgermain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davestgermain/subscriptions","organizations_url":"https://api.github.com/users/davestgermain/orgs","repos_url":"https://api.github.com/users/davestgermain/repos","events_url":"https://api.github.com/users/davestgermain/events{/privacy}","received_events_url":"https://api.github.com/users/davestgermain/received_events","type":"User","site_admin":false},"body":"This adds a new item to the special exams instructor dashboard accordion, which opens an iframe loading the backend exam review dashboard.","created_at":"2018-11-27T21:54:31Z","updated_at":"2018-11-29T21:04:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6034d42a261c06c27a2a613137fed3b26f97a60a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/edx/edx-proctoring/pulls/467/commits","review_comments_url":"https://api.github.com/repos/edx/edx-proctoring/pulls/467/comments","review_comment_url":"https://api.github.com/repos/edx/edx-proctoring/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edx/edx-proctoring/issues/467/comments","statuses_url":"https://api.github.com/repos/edx/edx-proctoring/statuses/942950934ce11ba8ddf1a9126b6cd2b46dfb858a","head":{"label":"edx:dcs/instructor-dashboard","ref":"dcs/instructor-dashboard","sha":"942950934ce11ba8ddf1a9126b6cd2b46dfb858a","user":{"login":"edx","id":3179841,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNzk4NDE=","avatar_url":"https://avatars3.githubusercontent.com/u/3179841?v=4","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":37069077,"node_id":"MDEwOlJlcG9zaXRvcnkzNzA2OTA3Nw==","name":"edx-proctoring","full_name":"edx/edx-proctoring","private":false,"owner":{"login":"edx","id":3179841,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNzk4NDE=","avatar_url":"https://avatars3.githubusercontent.com/u/3179841?v=4","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/edx/edx-proctoring","description":null,"fork":false,"url":"https://api.github.com/repos/edx/edx-proctoring","forks_url":"https://api.github.com/repos/edx/edx-proctoring/forks","keys_url":"https://api.github.com/repos/edx/edx-proctoring/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/edx-proctoring/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/edx-proctoring/teams","hooks_url":"https://api.github.com/repos/edx/edx-proctoring/hooks","issue_events_url":"https://api.github.com/repos/edx/edx-proctoring/issues/events{/number}","events_url":"https://api.github.com/repos/edx/edx-proctoring/events","assignees_url":"https://api.github.com/repos/edx/edx-proctoring/assignees{/user}","branches_url":"https://api.github.com/repos/edx/edx-proctoring/branches{/branch}","tags_url":"https://api.github.com/repos/edx/edx-proctoring/tags","blobs_url":"https://api.github.com/repos/edx/edx-proctoring/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/edx-proctoring/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/edx-proctoring/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/edx-proctoring/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/edx-proctoring/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/edx-proctoring/languages","stargazers_url":"https://api.github.com/repos/edx/edx-proctoring/stargazers","contributors_url":"https://api.github.com/repos/edx/edx-proctoring/contributors","subscribers_url":"https://api.github.com/repos/edx/edx-proctoring/subscribers","subscription_url":"https://api.github.com/repos/edx/edx-proctoring/subscription","commits_url":"https://api.github.com/repos/edx/edx-proctoring/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/edx-proctoring/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/edx-proctoring/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/edx-proctoring/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/edx-proctoring/contents/{+path}","compare_url":"https://api.github.com/repos/edx/edx-proctoring/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/edx-proctoring/merges","archive_url":"https://api.github.com/repos/edx/edx-proctoring/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/edx-proctoring/downloads","issues_url":"https://api.github.com/repos/edx/edx-proctoring/issues{/number}","pulls_url":"https://api.github.com/repos/edx/edx-proctoring/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/edx-proctoring/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/edx-proctoring/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/edx-proctoring/labels{/name}","releases_url":"https://api.github.com/repos/edx/edx-proctoring/releases{/id}","deployments_url":"https://api.github.com/repos/edx/edx-proctoring/deployments","created_at":"2015-06-08T13:38:04Z","updated_at":"2018-11-29T19:43:05Z","pushed_at":"2018-11-29T21:00:36Z","git_url":"git://github.com/edx/edx-proctoring.git","ssh_url":"git@github.com:edx/edx-proctoring.git","clone_url":"https://github.com/edx/edx-proctoring.git","svn_url":"https://github.com/edx/edx-proctoring","homepage":null,"size":2638,"stargazers_count":16,"watchers_count":16,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":34,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":34,"open_issues":7,"watchers":16,"default_branch":"master"}},"base":{"label":"edx:master","ref":"master","sha":"59de704aa8b14094645bcf3be099116002ebd423","user":{"login":"edx","id":3179841,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNzk4NDE=","avatar_url":"https://avatars3.githubusercontent.com/u/3179841?v=4","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":37069077,"node_id":"MDEwOlJlcG9zaXRvcnkzNzA2OTA3Nw==","name":"edx-proctoring","full_name":"edx/edx-proctoring","private":false,"owner":{"login":"edx","id":3179841,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNzk4NDE=","avatar_url":"https://avatars3.githubusercontent.com/u/3179841?v=4","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/edx/edx-proctoring","description":null,"fork":false,"url":"https://api.github.com/repos/edx/edx-proctoring","forks_url":"https://api.github.com/repos/edx/edx-proctoring/forks","keys_url":"https://api.github.com/repos/edx/edx-proctoring/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/edx-proctoring/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/edx-proctoring/teams","hooks_url":"https://api.github.com/repos/edx/edx-proctoring/hooks","issue_events_url":"https://api.github.com/repos/edx/edx-proctoring/issues/events{/number}","events_url":"https://api.github.com/repos/edx/edx-proctoring/events","assignees_url":"https://api.github.com/repos/edx/edx-proctoring/assignees{/user}","branches_url":"https://api.github.com/repos/edx/edx-proctoring/branches{/branch}","tags_url":"https://api.github.com/repos/edx/edx-proctoring/tags","blobs_url":"https://api.github.com/repos/edx/edx-proctoring/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/edx-proctoring/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/edx-proctoring/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/edx-proctoring/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/edx-proctoring/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/edx-proctoring/languages","stargazers_url":"https://api.github.com/repos/edx/edx-proctoring/stargazers","contributors_url":"https://api.github.com/repos/edx/edx-proctoring/contributors","subscribers_url":"https://api.github.com/repos/edx/edx-proctoring/subscribers","subscription_url":"https://api.github.com/repos/edx/edx-proctoring/subscription","commits_url":"https://api.github.com/repos/edx/edx-proctoring/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/edx-proctoring/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/edx-proctoring/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/edx-proctoring/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/edx-proctoring/contents/{+path}","compare_url":"https://api.github.com/repos/edx/edx-proctoring/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/edx-proctoring/merges","archive_url":"https://api.github.com/repos/edx/edx-proctoring/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/edx-proctoring/downloads","issues_url":"https://api.github.com/repos/edx/edx-proctoring/issues{/number}","pulls_url":"https://api.github.com/repos/edx/edx-proctoring/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/edx-proctoring/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/edx-proctoring/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/edx-proctoring/labels{/name}","releases_url":"https://api.github.com/repos/edx/edx-proctoring/releases{/id}","deployments_url":"https://api.github.com/repos/edx/edx-proctoring/deployments","created_at":"2015-06-08T13:38:04Z","updated_at":"2018-11-29T19:43:05Z","pushed_at":"2018-11-29T21:00:36Z","git_url":"git://github.com/edx/edx-proctoring.git","ssh_url":"git@github.com:edx/edx-proctoring.git","clone_url":"https://github.com/edx/edx-proctoring.git","svn_url":"https://github.com/edx/edx-proctoring","homepage":null,"size":2638,"stargazers_count":16,"watchers_count":16,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":34,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":34,"open_issues":7,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edx/edx-proctoring/pulls/467"},"html":{"href":"https://github.com/edx/edx-proctoring/pull/467"},"issue":{"href":"https://api.github.com/repos/edx/edx-proctoring/issues/467"},"comments":{"href":"https://api.github.com/repos/edx/edx-proctoring/issues/467/comments"},"review_comments":{"href":"https://api.github.com/repos/edx/edx-proctoring/pulls/467/comments"},"review_comment":{"href":"https://api.github.com/repos/edx/edx-proctoring/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edx/edx-proctoring/pulls/467/commits"},"statuses":{"href":"https://api.github.com/repos/edx/edx-proctoring/statuses/942950934ce11ba8ddf1a9126b6cd2b46dfb858a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"davestgermain"}}