Improved exception handling and logging for Tmdb Plugin

Improved exception handling and logging for Tmdb Plugin