CAS-1267: Fixed formatting issue with catch block