mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 04:47:29 -08:00
refactor(core): Stop reporting disk I/O error to Sentry (no-changelog) (#10324)
This commit is contained in:
parent
aa95059cf0
commit
ee8c9a5b24
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue