[Tech Debt]: added better error handling for the bundle cli