Skip to content

Commit 2db8fea

Browse files
author
Oleksii Korshenko
authored
MAGETWO-69895: Fix Issue: “Asymmetric transaction rollback error” if commit callbacks throw exceptions #9955
2 parents f12431d + 9b22e89 commit 2db8fea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)