Merge branch 'master' into release/v1.8.0
This commit is contained in:
commit
7741171dee
@ -40,7 +40,7 @@ export function DatabaseProvider({ children }) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
function handleDatabaseError(event) {
|
function handleDatabaseError(event) {
|
||||||
if (event.reason.name === "QuotaExceededError") {
|
if (event.reason?.name === "QuotaExceededError") {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
setDatabaseError({
|
setDatabaseError({
|
||||||
name: event.reason.name,
|
name: event.reason.name,
|
||||||
|
@ -20,12 +20,15 @@ if (process.env.REACT_APP_LOGGING === "true") {
|
|||||||
// Ignore quota error
|
// Ignore quota error
|
||||||
// Ignore XDR encoding failure bug in Firefox https://bugzilla.mozilla.org/show_bug.cgi?id=1678243
|
// Ignore XDR encoding failure bug in Firefox https://bugzilla.mozilla.org/show_bug.cgi?id=1678243
|
||||||
// Ignore LastPass extension text error
|
// Ignore LastPass extension text error
|
||||||
|
// Ignore WebRTC error TODO: Remove after 1.8
|
||||||
|
// Ignore chrome extension error
|
||||||
ignoreErrors: [
|
ignoreErrors: [
|
||||||
"ResizeObserver loop limit exceeded",
|
"ResizeObserver loop limit exceeded",
|
||||||
"QuotaExceededError",
|
"QuotaExceededError",
|
||||||
"XDR encoding failure",
|
"XDR encoding failure",
|
||||||
"Assertion failed: Input argument is not an HTMLInputElement",
|
"Assertion failed: Input argument is not an HTMLInputElement",
|
||||||
"No WebRTC support",
|
"No WebRTC support",
|
||||||
|
"Extension context invalidated",
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user