Skip to content

Commit

Permalink
CLI-1251: Exclude memory exhaustion from bugsnag (#1700)
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell authored Mar 12, 2024
1 parent 0e4cdc1 commit bda9ffa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Helpers/TelemetryHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ public function initializeBugsnag(): void {
if (str_starts_with($report->getContext(), 'GET')) {
return FALSE;
}
if (str_starts_with($report->getContext(), 'Allowed memory size')) {
return FALSE;
}
// Set user info.
$userId = $this->getUserId();
if (isset($userId)) {
Expand Down

0 comments on commit bda9ffa

Please sign in to comment.