If there's an error setting the channel or getting the channel type, give up on the session immediately.