Send generic error message instead of error log

This commit is contained in:
MartinBraquet
2025-10-25 22:30:08 +02:00
parent 39143525c3
commit f3630dd868

View File

@@ -176,7 +176,7 @@ export const PrivateChat = (props: {
editor.commands.focus()
})
.catch((e) => {
toast.error(e.message)
toast.error("Couldn't send message. Please try again later or contact support if the problem persists.")
console.error(e)
})
setIsSubmitting(false)