Catch and log exceptions when syncing indexes