From 2240b19882a32ea899a19089f6af8561ccc88334 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 25 May 2017 07:26:14 +0530 Subject: [PATCH] Also log db init failure event to console --- src/pyj/read_book/db.pyj | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pyj/read_book/db.pyj b/src/pyj/read_book/db.pyj index 3670662431..6933a478ef 100644 --- a/src/pyj/read_book/db.pyj +++ b/src/pyj/read_book/db.pyj @@ -71,11 +71,13 @@ class DB: request.onblocked = def(event): self.initialize_error_msg = _('Please close all other browser tabs with calibre open') self.initialized = True + console.log(event) self.callback() request.onerror = def(event): self.initialize_error_msg = _('You must allow calibre to use IndexedDB storage in your browser to read books') self.initialized = True + console.log(event) self.callback() request.onsuccess = def(event):