Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ziaratban committed Dec 15, 2024
1 parent adc750c commit 16cfd26
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 = false, $log = false, $commit = false){
public function run($query, $throw = true, $log = false, $commit = false){
$lastMongoSession = $this->clientSession->db->getSession();
try {
if(!$this->clientSession->getInTransaction())
Expand Down

0 comments on commit 16cfd26

Please sign in to comment.