Skip to content

Commit

Permalink
Fix timeline on QueryCollector (#1524)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikn69 committed Feb 14, 2024
1 parent 2dbe18c commit 09d3dc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DataCollector/QueryCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ public function addQuery($query)
];

if ($this->timeCollector !== null) {
$this->timeCollector->addMeasure(Str::limit($query, 100), $startTime, $endTime, [], 'db');
$this->timeCollector->addMeasure(Str::limit($sql, 100), $startTime, $endTime, [], 'db');
}
}

Expand Down

0 comments on commit 09d3dc7

Please sign in to comment.