From ccf9a55b2f07c0e52b8dac3c4fa80088276cdf44 Mon Sep 17 00:00:00 2001 From: Nicola Thouliss Date: Thu, 25 Feb 2021 15:45:37 +1100 Subject: [PATCH] Added regular expression to database errors --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 16a82b9..63305a3 100644 --- a/src/index.js +++ b/src/index.js @@ -29,7 +29,7 @@ if (process.env.REACT_APP_LOGGING === "true") { "Assertion failed: Input argument is not an HTMLInputElement", "Extension context invalidated", "InvalidStateError", - "Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.", + new RegExp("[a-zA-Z]*Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing*"), ], }); }