mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-05-11 00:24:51 -04:00
Send generic error message instead of error log
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user