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 and PrakharJainS3 committed Oct 14, 2024
1 parent 373ca79 commit 50d123d
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 50d123d

Please sign in to comment.