.catch((err) => { btnSubmit.setAttribute("disabled", "disabled"); console.log(err); let txt = err.msg.errors[0].includes("tra-ta-ta") ? "boom" : "problem"; showPopupReaction("problem", txt) }