Blob Blame History Raw
From 0502b9d19cd12b315748a573fe4d25c03b3a8022 Mon Sep 17 00:00:00 2001
From: Christophe Fergeau <cfergeau@redhat.com>
Date: Thu, 7 Aug 2014 12:30:15 +0200
Subject: [PATCH] ovirt: Error reporting improvements on invalid VM name

(cherry picked from commit 7a7143245a0f1b853e61e040c59fc3f49f5e44ae)
---
 src/remote-viewer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/remote-viewer.c b/src/remote-viewer.c
index 418f6e7..a9b5d86 100644
--- a/src/remote-viewer.c
+++ b/src/remote-viewer.c
@@ -868,7 +868,7 @@ create_ovirt_session(VirtViewerApp *app, const char *uri, GError **err)
     vms = ovirt_api_get_vms(api);
     ovirt_collection_fetch(vms, proxy, &error);
     if (error != NULL) {
-        g_debug("failed to lookup %s: %s", vm_name, error->message);
+        g_debug("failed to fetch oVirt 'vms' collection: %s", error->message);
         goto error;
     }
     if (vm_name == NULL ||