summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2012-07-17 20:58:03 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2012-11-05 11:37:39 +0100
commit0b9428d3a063414df8da6946cebdef5539613bbc (patch)
tree30603857307e7a2c02deccac35485e627865e1bf
parentcda93c63328615e3be4981e9a79bdfb2f26ed28e (diff)
Add logging when an exception is caughtwin
-rw-r--r--src/unattended-installer.vala1
-rw-r--r--src/winxp-installer.vala1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/unattended-installer.vala b/src/unattended-installer.vala
index 7d72952..ad23e9c 100644
--- a/src/unattended-installer.vala
+++ b/src/unattended-installer.vala
@@ -149,6 +149,7 @@ private abstract class Boxes.UnattendedInstaller: InstallerMedia {
foreach (var unattended_file in unattended_files)
yield unattended_file.copy (cancellable);
} catch (GLib.Error error) {
+ debug ("caught GLib.Error: %s", error.message);
clean_up ();
// An error occurred when trying to setup unattended installation, but it's likely that a non-unattended installation
// will work. When this happens, just disable unattended installs, and let the caller decide if it wants to retry a
diff --git a/src/winxp-installer.vala b/src/winxp-installer.vala
index f1729e5..0296b89 100644
--- a/src/winxp-installer.vala
+++ b/src/winxp-installer.vala
@@ -90,6 +90,7 @@ private class Boxes.WinXPInstaller: WindowsInstaller {
// the Windows installer to be able to use a virtio disk controller
has_viostor_drivers = have_viostor;
} catch (GLib.Error e) {
+ debug ("caught GLib.Error: %s", e.message);
has_viostor_drivers = false;
}
}