Skip to content

Commit

Permalink
CLI-1400: Exclude disk space exhaustion errors
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell committed Oct 10, 2024
1 parent ed04b5e commit 47a9cf0
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'):

Check warning on line 60 in src/Helpers/TelemetryHelper.php

View check run for this annotation

Codecov / codecov/patch

src/Helpers/TelemetryHelper.php#L60

Added line #L60 was not covered by tests
return false;
}
// Set user info.
Expand Down

0 comments on commit 47a9cf0

Please sign in to comment.