We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bba3d12 commit af443b4Copy full SHA for af443b4
1 file changed
site/js/index.js
@@ -64,7 +64,6 @@ function processRating(e) {
64
})
65
.catch(e => {
66
console.log(`error: ${e}`);
67
- alert(e);
68
});
69
}
70
@@ -119,7 +118,8 @@ function processForm(e) {
119
118
120
121
122
+ const botMessage = document.querySelector(".message-actual")
+ botMessage.innerHTML = `Whoops! Something went wrong. Error: ${e}`;
123
124
return true;
125
0 commit comments