backups: enable back error reporting
The final error message wasn't shown (only the fact that backup failed).
This commit is contained in:
parent
1e7eaf3776
commit
004893d8de
@ -197,7 +197,7 @@ class RestoreVMsWindow(Ui_Restore, QWizard):
|
|||||||
error_callback=self.restore_error_output,
|
error_callback=self.restore_error_output,
|
||||||
progress_callback=self.update_progress_bar)
|
progress_callback=self.update_progress_bar)
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
print "Exception:",ex
|
print "Exception:", ex
|
||||||
err_msg.append(str(ex))
|
err_msg.append(str(ex))
|
||||||
|
|
||||||
self.qvm_collection.unlock_db()
|
self.qvm_collection.unlock_db()
|
||||||
@ -251,8 +251,8 @@ class RestoreVMsWindow(Ui_Restore, QWizard):
|
|||||||
except Empty:
|
except Empty:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
#if not self.thread_monitor.success:
|
if not self.thread_monitor.success:
|
||||||
#QMessageBox.warning (None, "Backup error!", "ERROR: {1}".format(self.vm.name, self.thread_monitor.error_msg))
|
QMessageBox.warning (None, "Backup error!", "ERROR: {1}".format(self.vm.name, self.thread_monitor.error_msg))
|
||||||
|
|
||||||
if self.dev_mount_path != None:
|
if self.dev_mount_path != None:
|
||||||
umount_device(self.dev_mount_path)
|
umount_device(self.dev_mount_path)
|
||||||
|
Loading…
Reference in New Issue
Block a user