Fixed missing verbose error logging in Restore Backup

fixes QubesOS/qubes-issues#6035
This commit is contained in:
Marta Marczykowska-Górecka 2020-09-10 17:33:34 +02:00
parent 6180f0a899
commit 53d17d6cb2
No known key found for this signature in database
GPG Key ID: 9A752C30B26FD04B

View File

@ -60,9 +60,9 @@ class RestoreThread(QtCore.QThread):
self.tr("Partially restored files left in /var/tmp/restore_*, "
"investigate them and/or clean them up"))
if err_msg:
self.msg = '\n'.join(err_msg)
self.msg = '<b><font color="red">{0}</font></b>'.format(
self.tr("Finished with errors!"))
self.msg = '<br />'.join(err_msg)
self.msg = '<b><font color="red">{0}</font></b><br />'.format(
self.tr("Finished with errors!")) + self.msg
else:
self.msg = '<font color="green">{0}</font>'.format(
self.tr("Finished successfully!"))