deployment launch error handling (rebased)