From 9b731af02d1e710bb33cffab7382cf316421d6ee Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Fri, 20 Jan 2012 13:14:36 -0500 Subject: catch another exception --- src/lib/Server/Admin/Xcmd.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/lib') 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) -- cgit v1.2.3-1-g7c22