Skip to content

Commit

Permalink
Update Transaction.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ziaratban committed Aug 9, 2023
1 parent 16b0792 commit 214a72d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Transaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 214a72d

Please sign in to comment.