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 4318ee7 commit ecb9ea5
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 @@ -250,7 +250,7 @@ public function get_matching_answer(array $response) {
return $answer;
} 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 ecb9ea5

Please sign in to comment.