Skip to content

Commit 3d3d31c

Browse files
committed
#10208: Merge branch 'develop' of github.com:magento/magento2 into JeroenVanLeusden-patch-1
2 parents 03a3f2e + 071c521 commit 3d3d31c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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)