diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-01-20 13:14:36 -0500 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-01-20 13:14:36 -0500 |
commit | 9b731af02d1e710bb33cffab7382cf316421d6ee (patch) | |
tree | de1a01fe2af57693c2a17352dd7ec06c807fd953 /src/lib | |
parent | db8667af44ee5fa279f46e5cfd80d83730f3cded (diff) | |
download | bcfg2-9b731af02d1e710bb33cffab7382cf316421d6ee.tar.gz bcfg2-9b731af02d1e710bb33cffab7382cf316421d6ee.tar.bz2 bcfg2-9b731af02d1e710bb33cffab7382cf316421d6ee.zip |
catch another exception
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Server/Admin/Xcmd.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/Server/Admin/Xcmd.py b/src/lib/Server/Admin/Xcmd.py index 8faf68368..140465468 100644 --- a/src/lib/Server/Admin/Xcmd.py +++ b/src/lib/Server/Admin/Xcmd.py @@ -51,5 +51,10 @@ class Xcmd(Bcfg2.Server.Admin.Mode): return else: raise + except Bcfg2.Proxy.ProxyError: + err = sys.exc_info()[1] + print("Proxy Error: %s" % err) + return + if data != None: print(data) |