diff --git a/pym/consolegui/application/user_update.py b/pym/consolegui/application/user_update.py index acb325f..5d4edf6 100644 --- a/pym/consolegui/application/user_update.py +++ b/pym/consolegui/application/user_update.py @@ -82,12 +82,14 @@ def get_certifactions_for_host(host, use_dbus=False): except KeyboardInterrupt: log.debug(_("Manually interrupted")) return [] + except Exception as e: + log.debug(e) else: server_host_name = get_dbus_hostname() or "localhost" try: import glob - all_cert_list = glob.glob(os.path.join(path_to_cert, '*.crt')) + all_cert_list = glob.glob(path.join(path_to_cert, '*.crt')) fit_cert_list = [] for client_cert_path in all_cert_list: client_cert = client_cert_path.replace(path_to_cert, '') @@ -106,7 +108,7 @@ def get_certifactions_for_host(host, use_dbus=False): except KeyboardInterrupt: log.debug(_("Manually interrupted")) except Exception as e: - log.debug(str(e)) + log.debug(e) return []