From 50d123d3cc93a91c4bfdc4a42be5684448e3481c Mon Sep 17 00:00:00 2001 From: Dane Powell Date: Thu, 10 Oct 2024 09:34:06 -0700 Subject: [PATCH] CLI-1400: Exclude disk space exhaustion errors (#1809) --- src/Helpers/TelemetryHelper.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Helpers/TelemetryHelper.php b/src/Helpers/TelemetryHelper.php index d306b1f65..52f784c52 100644 --- a/src/Helpers/TelemetryHelper.php +++ b/src/Helpers/TelemetryHelper.php @@ -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.