refactor(core): Stop reporting disk I/O error to Sentry (no-changelog) (#10324)

This commit is contained in:
Iván Ovejero 2024-08-08 12:04:34 +02:00 committed by GitHub
parent aa95059cf0
commit ee8c9a5b24
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -69,7 +69,7 @@ export const initErrorHandling = async () => {
if ( if (
originalException instanceof QueryFailedError && originalException instanceof QueryFailedError &&
originalException.message.includes('SQLITE_FULL') ['SQLITE_FULL', 'SQLITE_IOERR'].some((errMsg) => originalException.message.includes(errMsg))
) { ) {
return null; return null;
} }