Percolator: improve logging and cleanup try-catch statement for percolator query loading.