Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 9523fc0

Browse files
committed
Merge pull request #13 from metxebarria/fix-queue
Fix error logging multiple messages
2 parents 3cefd65 + f6de622 commit 9523fc0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ApplicationInsights/Telemetry_Client.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,5 +279,6 @@ public function trackException(\Exception $ex, $properties = NULL, $measurements
279279
public function flush()
280280
{
281281
$this->_channel->send();
282+
$this->_channel->setQueue([]);
282283
}
283284
}

0 commit comments

Comments
 (0)