Try/except migration