fix : could not allocate memory error

This commit is contained in:
GuillaumeSD
2025-05-03 18:12:54 +02:00
parent eab579cf93
commit 28506bf183
2 changed files with 15 additions and 1 deletions

View File

@@ -18,6 +18,16 @@ if (
replaysSessionSampleRate: 0,
replaysOnErrorSampleRate: 1.0,
debug: false,
initialScope: {
extra: {
hardwareConcurrency: navigator.hardwareConcurrency,
deviceMemory:
"deviceMemory" in navigator &&
typeof navigator.deviceMemory === "number"
? navigator.deviceMemory
: "unknown",
},
},
ignoreErrors: [
"AbortError: The user aborted a request.",
"Failed to fetch",