summaryrefslogtreecommitdiffstats
path: root/func/overlord/client.py
diff options
context:
space:
mode:
authorKrzysztof A. Adamski <krzysztofa@gmail.com>2008-07-07 19:29:06 -0400
committerKrzysztof A. Adamski <krzysztofa@gmail.com>2008-07-08 00:25:59 +0200
commitcd7320d59ec7f6acc087507686a05711a59654bc (patch)
tree2583424af6904418c5b1f7115df24356c52948e9 /func/overlord/client.py
parent4a5de2e60b8173c19ef0eaa7eec4460d904a3bd2 (diff)
downloadfunc-cd7320d59ec7f6acc087507686a05711a59654bc.tar.gz
func-cd7320d59ec7f6acc087507686a05711a59654bc.tar.xz
func-cd7320d59ec7f6acc087507686a05711a59654bc.zip
Print userfriendly error messages instead of tracebacks in case of permissions errors.
Diffstat (limited to 'func/overlord/client.py')
-rwxr-xr-xfunc/overlord/client.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/func/overlord/client.py b/func/overlord/client.py
index 727746b..c46cc1f 100755
--- a/func/overlord/client.py
+++ b/func/overlord/client.py
@@ -214,7 +214,8 @@ class Overlord(object):
self.key = fd_key
self.cert = fd_crt
else:
- raise Func_Client_Exception, 'Cannot read ssl credentials: ssl, cert, ca'
+ raise Func_Client_Exception, 'Cannot read ssl credentials: ssl, cert, ca. '+\
+ 'Ensure you have permission to read files in /etc/pki/certmaster/ directory.'