cache try/except added