Adding exception handling for missing channels.