Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ziaratban committed Nov 9, 2024
1 parent 5c8f370 commit b834c39
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 @@ -206,7 +206,7 @@ public function run($query, $throw = false, $log = false){
if(!YII_ENV_PROD || $log) {
Yii::error($e);
}
if($throw) {
if(!YII_ENV_PROD || $throw) {
throw $e;
}
return false;
Expand Down

0 comments on commit b834c39

Please sign in to comment.