Merge branch 'master' into release/v1.8.0

This commit is contained in:
Mitchell McCaffrey 2021-02-23 17:03:02 +11:00
commit 7741171dee
2 changed files with 4 additions and 1 deletions

View File

@ -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,

View File

@ -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",
], ],
}); });
} }