backups: enable back error reporting

The final error message wasn't shown (only the fact that backup failed).
This commit is contained in:
Marek Marczykowski-Górecki 2014-01-10 03:40:11 +01:00
parent 1e7eaf3776
commit 004893d8de

View File

@ -251,8 +251,8 @@ class RestoreVMsWindow(Ui_Restore, QWizard):
except Empty:
pass
#if not self.thread_monitor.success:
#QMessageBox.warning (None, "Backup error!", "ERROR: {1}".format(self.vm.name, self.thread_monitor.error_msg))
if not self.thread_monitor.success:
QMessageBox.warning (None, "Backup error!", "ERROR: {1}".format(self.vm.name, self.thread_monitor.error_msg))
if self.dev_mount_path != None:
umount_device(self.dev_mount_path)