Error handler when downloading movie. Add some type checking