From 214a72dcc28ba74b144a041fa91750972a18540b Mon Sep 17 00:00:00 2001 From: Abolfazl Date: Wed, 9 Aug 2023 11:20:33 +0330 Subject: [PATCH] Update Transaction.php --- src/Transaction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Transaction.php b/src/Transaction.php index 4dd2c3681..e5f5aaefb 100644 --- a/src/Transaction.php +++ b/src/Transaction.php @@ -196,7 +196,7 @@ public function safeRollBack(&$exception = null) } } - public function run($query, $throw = true, $log = false){ + public function run($query, $throw = false, $log = false){ $lastMongoSession = $this->clientSession->db->getSession(); try { if(!$this->clientSession->getInTransaction())