From ee8c9a5b245c62ad6f7b2c3a1fb8b1695f922505 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Thu, 8 Aug 2024 12:04:34 +0200 Subject: [PATCH] refactor(core): Stop reporting disk I/O error to Sentry (no-changelog) (#10324) --- packages/cli/src/ErrorReporting.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src/ErrorReporting.ts b/packages/cli/src/ErrorReporting.ts index ceb67fe7fb..a8b25c891d 100644 --- a/packages/cli/src/ErrorReporting.ts +++ b/packages/cli/src/ErrorReporting.ts @@ -69,7 +69,7 @@ export const initErrorHandling = async () => { if ( originalException instanceof QueryFailedError && - originalException.message.includes('SQLITE_FULL') + ['SQLITE_FULL', 'SQLITE_IOERR'].some((errMsg) => originalException.message.includes(errMsg)) ) { return null; }