Try catch added in ContratLocation procedure