mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
This commit is contained in:
parent
6e451f5841
commit
67b2d44b33
@ -861,7 +861,7 @@ class Main(MainWindow, Ui_MainWindow):
|
|||||||
_('There was a temporary error talking to the device. Please unplug and reconnect the device and or reboot.')).show()
|
_('There was a temporary error talking to the device. Please unplug and reconnect the device and or reboot.')).show()
|
||||||
return
|
return
|
||||||
print >>sys.stderr, 'Error in job:', description.encode('utf8')
|
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')
|
print >>sys.stderr, formatted_traceback.encode('utf8')
|
||||||
if not self.device_error_dialog.isVisible():
|
if not self.device_error_dialog.isVisible():
|
||||||
msg = u'<p><b>%s</b>: '%(exception.__class__.__name__,) + unicode(str(exception), 'utf8', 'replace') + u'</p>'
|
msg = u'<p><b>%s</b>: '%(exception.__class__.__name__,) + unicode(str(exception), 'utf8', 'replace') + u'</p>'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user