Fix error handling for tv import.