Fix missing exception catch