Improve debug log surrounding TMDB queries

refs #2354
Better supression when logging non-fatal sqlite errors