mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Also log db init failure event to console
This commit is contained in:
parent
1c9fb795ef
commit
2240b19882
@ -71,11 +71,13 @@ class DB:
|
|||||||
request.onblocked = def(event):
|
request.onblocked = def(event):
|
||||||
self.initialize_error_msg = _('Please close all other browser tabs with calibre open')
|
self.initialize_error_msg = _('Please close all other browser tabs with calibre open')
|
||||||
self.initialized = True
|
self.initialized = True
|
||||||
|
console.log(event)
|
||||||
self.callback()
|
self.callback()
|
||||||
|
|
||||||
request.onerror = def(event):
|
request.onerror = def(event):
|
||||||
self.initialize_error_msg = _('You must allow calibre to use IndexedDB storage in your browser to read books')
|
self.initialize_error_msg = _('You must allow calibre to use IndexedDB storage in your browser to read books')
|
||||||
self.initialized = True
|
self.initialized = True
|
||||||
|
console.log(event)
|
||||||
self.callback()
|
self.callback()
|
||||||
|
|
||||||
request.onsuccess = def(event):
|
request.onsuccess = def(event):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user