Handle OperationalErrors in exception logging