catch deployment exceptions