Skip to content

Commit 226ebee

Browse files
author
Stanislav Idolov
authored
ENGCOM-839: SQL query is printed into browser in case of exception #13607
2 parents f374302 + 3ee6911 commit 226ebee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Eav/Model/Entity/Collection/AbstractCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1114,7 +1114,7 @@ public function _loadEntities($printQuery = false, $logQuery = false)
11141114
$query = $this->getSelect();
11151115
$rows = $this->_fetchAll($query);
11161116
} catch (\Exception $e) {
1117-
$this->printLogQuery(true, true, $query);
1117+
$this->printLogQuery(false, true, $query);
11181118
throw $e;
11191119
}
11201120

0 commit comments

Comments
 (0)