diff --git a/vendor/magento/module-catalog/Model/Attribute/Backend/Startdate.php b/vendor/magento/module-catalog/Model/Attribute/Backend/Startdate.php index 8c25ae1..2b281ea 100644 --- a/vendor/magento/module-catalog/Model/Attribute/Backend/Startdate.php +++ b/vendor/magento/module-catalog/Model/Attribute/Backend/Startdate.php @@ -93,7 +93,7 @@ class Startdate extends \Magento\Eav\Model\Entity\Attribute\Backend\Datetime $maxValue = $date->timestamp($maxDate); if ($value > $maxValue) { - $message = __('Make sure the To Date is later than or the same as the From Date.'); + $message = __('Make sure the To Date [%1] is later than or the same as the From Date [%2] for attribute [%3].', var_export($startDate, true), var_export($maxDate, true), var_export($attr->getAttributeCode(), true)); $eavExc = new \Magento\Eav\Model\Entity\Attribute\Exception($message); $eavExc->setAttributeCode($attr->getName()); throw $eavExc;