mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
4f04afc176
commit
534d06eb4d
@ -129,6 +129,7 @@ class IframeBoss:
|
|||||||
self.encrypted_communications = True
|
self.encrypted_communications = True
|
||||||
|
|
||||||
def onerror(self, msg, script_url, line_number, column_number, error_object):
|
def onerror(self, 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