Error handling with GetMovieList

including database connection and query