Skip to content

Commit 3ee6911

Browse files
ENGCOM-839: SQL query is printed into browser in case of exception #13607
- Merge Pull Request #13607 from shyamranpara/magento2:issue-13385 - Merged commits: 1. f473572
2 parents 3f053dd + f473572 commit 3ee6911

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)