From f66c4ef3e406608640f699fb9c6ff882007b30ba Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Fri, 4 Jul 2014 17:37:22 -0400 Subject: [PATCH] connection: Fix error reporting if TCP creds dialog fails --- virtManager/connection.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/virtManager/connection.py b/virtManager/connection.py index 3d138cc7f..1683568c4 100644 --- a/virtManager/connection.py +++ b/virtManager/connection.py @@ -953,11 +953,8 @@ class vmmConnection(vmmGObject): def _do_creds_password(self, creds): try: return connectauth.creds_dialog(creds) - except Exception, e: - # Detailed error message, in English so it can be Googled. - self._connectError = ( - "Failed to get credentials for '%s':\n%s\n%s" % - (self.get_uri(), str(e), "".join(traceback.format_exc()))) + except: + logging.debug("Launching creds dialog failed", exc_info=True) return -1 def _open_thread(self):