Properly handle DbException and UnexpectedTimerException when sending messages
Currently the input field gets cleared and the exception gets logged, but the user sees no indication that sending the message failed besides seeing that it didn't get added to the chat history.