From 5bb47aebbc0703f579ef0f9422a6796a4b11d4d7 Mon Sep 17 00:00:00 2001 From: eight Date: Fri, 9 Nov 2018 10:08:38 +0800 Subject: [PATCH] fixup! Add: add a warning --- background/db.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/background/db.js b/background/db.js index 9e28eac3..a8c1738c 100644 --- a/background/db.js +++ b/background/db.js @@ -88,7 +88,7 @@ const db = (() => { chromeLocal.set({dbInChromeStorage: true}, ignoreChromeError); if (err) { chromeLocal.setValue('dbInChromeStorageReason', workerUtil.cloneError(err)); - console.warn(`Stylus failed to access indexedDB. Switched to storage API.`, err); + console.warn('Failed to access indexedDB. Switched to storage API.', err); } localStorage.dbInChromeStorage = 'true'; }