Remove dots from the end of error messages.