Added try catch to customer input.