diff --git a/templates/exam_overview_js.html b/templates/exam_overview_js.html index 79c36d49..ee6da32d 100644 --- a/templates/exam_overview_js.html +++ b/templates/exam_overview_js.html @@ -23,7 +23,7 @@ // For eg. A message box showing that the status has been changed }) .fail(function (data) { - toastr.error(`Failed to change state`); + toastr.error(`Failed to change state\n${data.status}`); }) .always(function () { console.log('[Done]');