cog
cog copied to clipboard
chat handle should return an error to the user when it fails
If you try and create a chat handle with a name that already exists Ecto will throw a unique constraint error and the client will receive a 500. We should instead return a proper error to the client.