diff --git a/frontend-js/src/main/js/GuiConnector.js b/frontend-js/src/main/js/GuiConnector.js index c7cd3c1ec4273e9e5654e84a56822cff357d92d7..a35557f5688b23883e7ede115dd951164451eb61 100644 --- a/frontend-js/src/main/js/GuiConnector.js +++ b/frontend-js/src/main/js/GuiConnector.js @@ -402,7 +402,7 @@ GuiConnector.prototype.alert = function (error, redirectIfSecurityError) { * @returns {Object} */ GuiConnector.prototype.getErrorMessageForError = function (error) { - var expectedError = typeof error === 'string' || error instanceof SecurityError; + var expectedError = typeof error === 'string' || error instanceof SecurityError || error instanceof ValidationError; var errorData = { showReport: !expectedError, message: typeof error === 'string' ? error : error.message,