Added missing exception catch.