mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-25 02:00:10 +02:00
[web] Add https://analytics.propensity-abm.com/ to the ignored Propensity NetworkError (#27980)
GitOrigin-RevId: 42dec70d7e4d1bb1207c35267bb7ef6629152d65
This commit is contained in:
@@ -21,10 +21,13 @@ const isPropensityNetworkError = (err: ErrorEvent) => {
|
||||
return false
|
||||
}
|
||||
|
||||
const breadcrumbUrl = errorBreadcrumbs[0]?.data?.url
|
||||
return Boolean(
|
||||
errorBreadcrumbs[0]?.data?.url?.startsWith(
|
||||
'https://analytics.propensity.com/'
|
||||
)
|
||||
breadcrumbUrl &&
|
||||
[
|
||||
'https://analytics.propensity.com/',
|
||||
'https://analytics.propensity-abm.com/',
|
||||
].some(url => breadcrumbUrl.startsWith(url))
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user