Fixed a problem when company.foodDelivery threw a EcmaError