[gnome-boxes] machine: Warning on failing to connect to display
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] machine: Warning on failing to connect to display
- Date: Mon, 1 Sep 2014 23:16:57 +0000 (UTC)
commit a3daced64aa4ca0b1bd75ef55026d3d9c8c1769d
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Mon Sep 1 21:09:30 2014 +0100
machine: Warning on failing to connect to display
Instead of outputting to debug log (which is suppressed by default),
output error on warning log. Also, improve the message a bit.
src/machine.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/machine.vala b/src/machine.vala
index 6702e99..14d87e7 100644
--- a/src/machine.vala
+++ b/src/machine.vala
@@ -574,7 +574,7 @@ private abstract class Boxes.Machine: Boxes.CollectionItem, Boxes.IPropertiesPro
window.set_state (UIState.COLLECTION);
window.notificationbar.display_error (_("Failed to start '%s'").printf (name));
} catch (GLib.Error e) {
- debug ("connect display failed: %s", e.message);
+ warning ("Failed to connect to %s: %s", name, e.message);
window.set_state (UIState.COLLECTION);
window.notificationbar.display_error (_("Connection to '%s' failed").printf (name));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]