Skip to content

Commit 071c521

Browse files
author
Oleksii Korshenko
authored
Merge pull request #1312 from magento-engcom/develop-prs
Public Pull Requests #10199 #9955
2 parents f215f3d + 2db8fea commit 071c521

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Eav/Model/Entity/Attribute.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Attribute extends \Magento\Eav\Model\Entity\Attribute\AbstractAttribute im
2323
/**
2424
* Attribute code max length
2525
*/
26-
const ATTRIBUTE_CODE_MAX_LENGTH = 30;
26+
const ATTRIBUTE_CODE_MAX_LENGTH = 255;
2727

2828
/**
2929
* Cache tag

lib/internal/Magento/Framework/Model/ResourceModel/AbstractResource.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public function commit()
9191
call_user_func($callback);
9292
}
9393
} catch (\Exception $e) {
94-
throw $e;
94+
$this->logger->critical($e);
9595
}
9696
}
9797
return $this;

0 commit comments

Comments
 (0)