#1515 storeLog ignore improvement

This commit is contained in:
GrzegorzZajac000 2024-04-02 18:05:30 +02:00
parent 1a12a6cfcf
commit 628e4b4f51

View File

@ -92,9 +92,11 @@ const storeLog = async (level, logID = 0, errObj, url = '') => {
(storage?.browserInfo?.browser_name === 'Chrome' && storage?.browserInfo?.browser_version === '107' && logID === 14) ||
(storage?.browserInfo?.browser_name === 'Chrome' && storage?.browserInfo?.browser_version === '107.0.0.0' && logID === 14) ||
(c?.errorInfo?.message?.includes('FILE_ERROR_NO_SPACE')) ||
(c?.status === 407) ||
(c?.errorInfo.status === 407) ||
(c?.errorInfo?.message?.includes('An unexpected error occurred')) ||
(c?.errorInfo?.message?.includes('Refused to run the JavaScript URL'))
(c?.errorInfo?.message?.includes('Refused to run the JavaScript URL')) ||
(c?.errorInfo?.message?.includes('QuotaExceededError: storage.local API call exceeded its quota limitations')) || // @TODO: future
(c?.errorInfo?.statusText?.includes('Proxy Authentication Required'))
) {
return false;
}