From 5b73729be2d3dde329ab36e5eaf95fc120b33363 Mon Sep 17 00:00:00 2001 From: fgerlits Date: Fri, 18 Aug 2006 13:16:40 +0000 Subject: [PATCH] minor bugfix: handled a previously uncaught exception --- livesupport/src/products/gLiveSupport/src/GLiveSupport.cxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/livesupport/src/products/gLiveSupport/src/GLiveSupport.cxx b/livesupport/src/products/gLiveSupport/src/GLiveSupport.cxx index 6384e53ec..eebfa9ac2 100644 --- a/livesupport/src/products/gLiveSupport/src/GLiveSupport.cxx +++ b/livesupport/src/products/gLiveSupport/src/GLiveSupport.cxx @@ -611,7 +611,12 @@ GLiveSupport :: logout(void) throw () storeWindowPositions(); windowPositions.clear(); - authentication->logout(sessionId); + try { + authentication->logout(sessionId); + } catch (XmlRpcException &e) { + std::cerr << "error in GLiveSupport::logout: " + << e.what() << std::endl; + } sessionId.reset(); return true;