Skip to content

Commit

Permalink
Merge branch 'enh-transaction1' into last-update
Browse files Browse the repository at this point in the history
  • Loading branch information
ziaratban committed Aug 9, 2023
2 parents 77c309b + 214a72d commit 492be62
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 @@ -193,7 +193,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 492be62

Please sign in to comment.