[asterisk-scf-commits] asterisk-scf/release/routing.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Fri Nov 11 12:54:06 CST 2011


branch "master" has been updated
       via  b803dcb774ce77589ddf2763bf8dea7a0c09a0fa (commit)
      from  8fde717473315a552252d184be250968bded2298 (commit)

Summary of changes:
 src/BasicRoutingStateReplicatorApp.cpp |    2 +-
 src/SessionRouterOperation.cpp         |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)


- Log -----------------------------------------------------------------
commit b803dcb774ce77589ddf2763bf8dea7a0c09a0fa
Author: Joshua Colp <jcolp at digium.com>
Date:   Fri Nov 11 14:50:46 2011 -0400

    Tweak log levels/messages. (issue ASTSCF-383)

diff --git a/src/BasicRoutingStateReplicatorApp.cpp b/src/BasicRoutingStateReplicatorApp.cpp
index 9e6c29d..6b95542 100644
--- a/src/BasicRoutingStateReplicatorApp.cpp
+++ b/src/BasicRoutingStateReplicatorApp.cpp
@@ -194,7 +194,7 @@ void BasicRoutingStateReplicatorService::deregisterFromServiceLocator(bool inclu
     }
     catch(...)
     {
-        lg(Error) << "Exception in " << BOOST_CURRENT_FUNCTION;
+        lg(Error) << "Exception in " << mAppName << BOOST_CURRENT_FUNCTION;
     }
 }
 
diff --git a/src/SessionRouterOperation.cpp b/src/SessionRouterOperation.cpp
index 17afe61..d365a33 100644
--- a/src/SessionRouterOperation.cpp
+++ b/src/SessionRouterOperation.cpp
@@ -260,9 +260,9 @@ SessionSeq removeSessionsFromBridge(BridgePrx bridge, SessionPrx except)
         lg(Debug) << "Removing sessions from bridge." ;
         bridge->removeSessions(removedSessions);
     }
-    catch(const Ice::Exception&)
+    catch(const Ice::Exception& ex)
     {
-        lg(Warning) << "Unable to remove sessions. " ;
+        lg(Warning) << "Unable to remove sessions as we received exception " << ex.what() ;
         // We won't give up because of this.
     }
     return removedSessions;

-----------------------------------------------------------------------


-- 
asterisk-scf/release/routing.git



More information about the asterisk-scf-commits mailing list