Skip to content

Commit 1166919

Browse files
committed
ACP2E-1650:Create Shipment API
- addressed CR issue
1 parent cbc5987 commit 1166919

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Model/ResourceModel/Db/AbstractDb.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ public function save(\Magento\Framework\Model\AbstractModel $object)
407407
$this->rollBack();
408408
$object->setHasDataChanges(true);
409409
throw new AlreadyExistsException(new Phrase('Unique constraint violation found'), $e);
410-
} catch (\Magento\Framework\Validator\Exception | \Exception $e) {
410+
} catch (\Exception $e) {
411411
$this->rollBack();
412412
$object->setHasDataChanges(true);
413413
throw $e;

0 commit comments

Comments
 (0)