Skip to content

Commit

Permalink
[examiner] fix error message display format (#9176)
Browse files Browse the repository at this point in the history
Fixes #9148
  • Loading branch information
shonibare authored Apr 11, 2024
1 parent 16a55c9 commit c89548e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/examiner/jsx/examinerIndex.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ class ExaminerIndex extends Component {
}
});
} else {
resp.text().then((message) => {
swal.fire('Error!', message, 'error');
resp.json().then((message) => {
swal.fire('Error!', message.error, 'error');
});
}
})
Expand Down

0 comments on commit c89548e

Please # to comment.