mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
This commit is contained in:
parent
51d9905a2e
commit
ea91f95af3
@ -927,9 +927,9 @@ class Main(MainWindow, Ui_MainWindow):
|
|||||||
def conversion_job_exception(self, id, description, exception, formatted_traceback, log):
|
def conversion_job_exception(self, id, description, exception, formatted_traceback, log):
|
||||||
print >>sys.stderr, 'Error in job:', description.encode('utf8')
|
print >>sys.stderr, 'Error in job:', description.encode('utf8')
|
||||||
if log:
|
if log:
|
||||||
print >>sys.stderr, log.encode('utf8')
|
print >>sys.stderr, log.encode('utf8', 'ignore')
|
||||||
print >>sys.stderr, exception
|
print >>sys.stderr, exception
|
||||||
print >>sys.stderr, formatted_traceback.encode('utf8')
|
print >>sys.stderr, formatted_traceback.encode('utf8', 'ignore')
|
||||||
msg = u'<p><b>%s</b>: %s</p>'%exception
|
msg = u'<p><b>%s</b>: %s</p>'%exception
|
||||||
msg += u'<p>Failed to perform <b>job</b>: '+description
|
msg += u'<p>Failed to perform <b>job</b>: '+description
|
||||||
msg += u'<p>Detailed <b>traceback</b>:<pre>'
|
msg += u'<p>Detailed <b>traceback</b>:<pre>'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user