Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-proctoring
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-proctoring
Commits
e2fd700b
Commit
e2fd700b
authored
Jan 31, 2018
by
noraiz-anwar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
handle grading service failure
parent
f2167b45
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
edx_proctoring/api.py
+8
-5
No files found.
edx_proctoring/api.py
View file @
e2fd700b
...
...
@@ -1120,11 +1120,14 @@ def remove_exam_attempt(attempt_id, requesting_user):
instructor_service
.
delete_student_attempt
(
username
,
course_id
,
content_id
,
requesting_user
=
requesting_user
)
if
grades_service
:
# EDUCATOR-2141: Also remove any grade overrides that may exist
grades_service
.
undo_override_subsection_grade
(
user_id
=
user_id
,
course_key_or_id
=
course_id
,
usage_key_or_id
=
content_id
,
)
try
:
grades_service
.
undo_override_subsection_grade
(
user_id
=
user_id
,
course_key_or_id
=
course_id
,
usage_key_or_id
=
content_id
,
)
except
Exception
as
ex
:
# pylint: disable=broad-except
log
.
exception
(
ex
)
# see if the status transition this changes credit requirement status
if
ProctoredExamStudentAttemptStatus
.
needs_credit_status_update
(
to_status
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment