mirror of
https://gitlab.com/virt-viewer/virt-viewer.git
synced 2025-08-24 17:49:22 +03:00
virt-viewer: Bring back debug log about nonexistent guest
Although commit 88f6341
allowed to use virt-viewer with a wrong guest name,
the user is informed about the nonexistent guest only by a dialog showing
the list of running machines or informing about the connection error.
Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1201177
This commit is contained in:
committed by
Fabiano Fidêncio
parent
c586dc8c2b
commit
aec2248cf8
@ -726,6 +726,8 @@ virt_viewer_initial_connect(VirtViewerApp *app, GError **error)
|
||||
goto wait;
|
||||
} else {
|
||||
VirtViewerWindow *main_window = virt_viewer_app_get_main_window(app);
|
||||
if (priv->domkey != NULL)
|
||||
g_debug("Cannot find guest %s", priv->domkey);
|
||||
dom = choose_vm(virt_viewer_window_get_window(main_window),
|
||||
&priv->domkey,
|
||||
priv->conn,
|
||||
|
Reference in New Issue
Block a user