mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
...
This commit is contained in:
parent
c4c12001a5
commit
d0de1f377b
@ -33,6 +33,7 @@ def remove_initial_progress_bar():
|
|||||||
p.parentNode.removeChild(p)
|
p.parentNode.removeChild(p)
|
||||||
|
|
||||||
def onerror(msg, script_url, line_number, column_number, error_object):
|
def onerror(msg, script_url, line_number, column_number, error_object):
|
||||||
|
if error_object:
|
||||||
console.log(error_object)
|
console.log(error_object)
|
||||||
try:
|
try:
|
||||||
fname = script_url.rpartition('/')[-1] or script_url
|
fname = script_url.rpartition('/')[-1] or script_url
|
||||||
|
Loading…
x
Reference in New Issue
Block a user