mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
...
This commit is contained in:
parent
a0b56ef2a7
commit
772d285326
@ -46,7 +46,7 @@ class Worker(Thread):
|
|||||||
self.traceback = ''
|
self.traceback = ''
|
||||||
except WorkerError as err:
|
except WorkerError as err:
|
||||||
self.exception = Exception(_('Failed to read book, {0} click "Show Details" for more information').format(self.path_to_ebook))
|
self.exception = Exception(_('Failed to read book, {0} click "Show Details" for more information').format(self.path_to_ebook))
|
||||||
self.traceback = err.orig_tb
|
self.traceback = err.orig_tb or as_unicode(err)
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
self.exception = err
|
self.exception = err
|
||||||
self.traceback = traceback.format_exc()
|
self.traceback = traceback.format_exc()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user