Add exception support to ConnectCommand and ConnectionView