We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45b624c commit 3658a1bCopy full SHA for 3658a1b
lib/internal/Magento/Framework/Model/ResourceModel/AbstractResource.php
@@ -92,12 +92,12 @@ public function commit()
92
*/
93
if ($this->getConnection()->getTransactionLevel() === 0) {
94
$callbacks = CallbackPool::get(spl_object_hash($this->getConnection()));
95
- try {
96
- foreach ($callbacks as $callback) {
97
- call_user_func($callback);
98
- }
99
- } catch (\Exception $e) {
+ foreach ($callbacks as $callback) {
+ try {
+ call_user_func($callback);
+ } catch (\Exception $e) {
100
$this->getLogger()->critical($e);
+ }
101
}
102
103
return $this;
0 commit comments