From 47a9cf0a1f0be6599a99b3cef3169eda4737ffbd Mon Sep 17 00:00:00 2001 From: Dane Powell Date: Thu, 10 Oct 2024 09:31:06 -0700 Subject: [PATCH] CLI-1400: Exclude disk space exhaustion errors --- 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.