minor bugfix: handled a previously uncaught exception

This commit is contained in:
fgerlits 2006-08-18 13:16:40 +00:00
parent a2608bc924
commit 5b73729be2
1 changed files with 6 additions and 1 deletions

View File

@ -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;