Skip to content

Commit

Permalink
feat: report exception when notifying failure of attempt grading
Browse files Browse the repository at this point in the history
Kanbanize: #taskid 51138
  • Loading branch information
Pol Torrent i Soler committed Nov 4, 2024
1 parent f42c7c0 commit c54593d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion question.php
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ private function set_shortanswer_matching_answers(array $response) {
$this->step->reset_attempts();
} catch (moodle_exception $e) {
// Notify of the error.
$this->step->inc_attempts();
$this->step->inc_attempts($e);
throw $e;
}
}
Expand Down

0 comments on commit c54593d

Please sign in to comment.