update strict try/except block