Skip to content

Commit

Permalink
CLI-1400: Exclude disk space exhaustion errors (#1809)
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell authored Oct 10, 2024
1 parent ed04b5e commit 80b02e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Helpers/TelemetryHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ public function initializeBugsnag(): void
case str_starts_with($report->getMessage(), 'Allowed memory size'):
// Exclude i/o errors.
case str_starts_with($report->getMessage(), 'fgets'):
// Exclude exhausted disk space.
case str_starts_with($report->getMessage(), 'fwrite'):
return false;
}
// Set user info.
Expand Down

0 comments on commit 80b02e2

Please sign in to comment.