revert lifting try expressions into methods