Clean up the code in process_pending_catalog_log_file(). Too much exception code did the code too complex.