From ecb9ea5ae4820639fca79d92066b3e2200e2e8a8 Mon Sep 17 00:00:00 2001 From: Pol Torrent i Soler Date: Mon, 4 Nov 2024 12:34:55 +0100 Subject: [PATCH 1/2] feat: report exception when notifying failure of attempt grading Kanbanize: #taskid 51138 --- question.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question.php b/question.php index 3cc44a1..266fcb4 100644 --- a/question.php +++ b/question.php @@ -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; } } From 92b8463ac9b87e74e01ad0cec733e581ef7c359a Mon Sep 17 00:00:00 2001 From: Pol Torrent i Soler Date: Mon, 4 Nov 2024 12:35:26 +0100 Subject: [PATCH 2/2] chore: bump version to 4.11.5 --- version.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/version.php b/version.php index ea1c0e8..cb8d724 100644 --- a/version.php +++ b/version.php @@ -16,11 +16,11 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2024032204; +$plugin->version = 2024032205; $plugin->requires = 2015111600; // Moodle 3.0. -$plugin->release = '4.11.4'; +$plugin->release = '4.11.5'; $plugin->maturity = MATURITY_STABLE; $plugin->component = 'qtype_shortanswerwiris'; $plugin->dependencies = array( - 'qtype_wq' => 2024032204 + 'qtype_wq' => 2024032205 );