mirror of
https://github.com/twofas/2fas-browser-extension.git
synced 2024-11-22 02:00:08 +01:00
#1515 storeLog ignore improvement
This commit is contained in:
parent
1a12a6cfcf
commit
628e4b4f51
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user