Skip to content

Commit b834c39

Browse files
committed
dev
1 parent 5c8f370 commit b834c39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Transaction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ public function run($query, $throw = false, $log = false){
206206
if(!YII_ENV_PROD || $log) {
207207
Yii::error($e);
208208
}
209-
if($throw) {
209+
if(!YII_ENV_PROD || $throw) {
210210
throw $e;
211211
}
212212
return false;

0 commit comments

Comments
 (0)