diff --git a/src/pyj/book_list/boss.pyj b/src/pyj/book_list/boss.pyj index 50a873857f..586c134f2a 100644 --- a/src/pyj/book_list/boss.pyj +++ b/src/pyj/book_list/boss.pyj @@ -66,6 +66,7 @@ class Boss: document.title = self.read_ui.current_metadata.title def onerror(self, msg, script_url, line_number, column_number, error_object): + console.log(error_object) try: fname = str.rpartition(script_url, '/')[-1] or script_url msg = msg + '
' + str.format('Error at {}:{}:{}', fname, line_number, column_number or '') + '' @@ -75,7 +76,7 @@ class Boss: error_dialog(_('Unhandled error'), msg, details) return True except: - console.error('There was an error in the unhandled exception handler') + console.log('There was an error in the unhandled exception handler') def onpopstate(self, ev): data = parse_url_params()