Putty could not start: show putty path and text of the exception

fixes: https://github.com/xcp-ng/xenadmin/issues/165
This commit is contained in:
Alexander Schulz 2020-01-26 19:27:20 +01:00
parent 5c6bc0a786
commit 4caf990c9d

View File

@ -1496,7 +1496,7 @@ namespace XenAdmin.ConsoleView
{ {
log.Error("Error starting PuTTY.", ex); log.Error("Error starting PuTTY.", ex);
using (var dlg = new ThreeButtonDialog(new ThreeButtonDialog.Details(SystemIcons.Error, Messages.ERROR_PUTTY_LAUNCHING, Messages.XENCENTER))) using (var dlg = new ThreeButtonDialog(new ThreeButtonDialog.Details(SystemIcons.Error, Messages.ERROR_PUTTY_LAUNCHING + "\n\n" + puttyPath + "\n\n" + ex.Message, Messages.XENCENTER)))
{ {
dlg.ShowDialog(Parent); dlg.ShowDialog(Parent);
} }