Output failed message in error details

This commit is contained in:
Kovid Goyal 2020-11-05 12:45:01 +05:30
parent d81a1fdc91
commit 6f39129e5b
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -431,7 +431,7 @@ def send_message(msg):
print(err, file=sys.stderr, flush=True)
error_dialog(None, _('Contacting calibre failed'), _(
'Failed to contact running instance of calibre, try restarting calibre'),
det_msg=str(err), show=True)
det_msg=str(err) + '\n\n' + repr(msg), show=True)
return False
return True