Don't define bogus realm/server in configuration file by default

Add default exception handler to avoid backtraces in cmdline tools
Enhance error message when the IPA server or realm can't be found

437565
This commit is contained in:
Rob Crittenden
2008-03-17 13:16:56 -04:00
parent a39f38f65b
commit c3fedca013
20 changed files with 58 additions and 4 deletions

View File

@@ -130,3 +130,6 @@ except xmlrpclib.ProtocolError, e:
except ipa.ipaerror.IPAError, e:
print "%s" % (e.message)
sys.exit(1)
except Exception, e:
print "%s" % str(e)
sys.exit(1)