mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-03-04 04:04:38 +01:00
This commit is contained in:
parent
6e451f5841
commit
67b2d44b33
1 changed files with 1 additions and 1 deletions
|
|
@ -861,7 +861,7 @@ def device_job_exception(self, id, description, exception, formatted_traceback):
|
|||
_('There was a temporary error talking to the device. Please unplug and reconnect the device and or reboot.')).show()
|
||||
return
|
||||
print >>sys.stderr, 'Error in job:', description.encode('utf8')
|
||||
print >>sys.stderr, exception[0], exception[1]
|
||||
print >>sys.stderr, exception
|
||||
print >>sys.stderr, formatted_traceback.encode('utf8')
|
||||
if not self.device_error_dialog.isVisible():
|
||||
msg = u'<p><b>%s</b>: '%(exception.__class__.__name__,) + unicode(str(exception), 'utf8', 'replace') + u'</p>'
|
||||
|
|
|
|||
Loading…
Reference in a new issue