catch any deploymnet error