[asterisk-scf-commits] asterisk-scf/integration/ice-util-cpp.git branch "smartproxy-threadsafety-update" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Thu Apr 21 09:29:49 CDT 2011


branch "smartproxy-threadsafety-update" has been updated
       via  d97fb9fd8da3ae532ac5957ae318e958a3fbbfc1 (commit)
      from  ba0385fba8d1167eb4dfc10bffc76c520d3b5155 (commit)

Summary of changes:
 SmartProxy/include/AsteriskSCF/SmartProxy.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


- Log -----------------------------------------------------------------
commit d97fb9fd8da3ae532ac5957ae318e958a3fbbfc1
Author: Brent Eagles <beagles at digium.com>
Date:   Thu Apr 21 11:55:00 2011 -0230

    Change catch block to catch only those exceptions that should result in retrying the locate call.

diff --git a/SmartProxy/include/AsteriskSCF/SmartProxy.h b/SmartProxy/include/AsteriskSCF/SmartProxy.h
index e8d4663..50463e9 100644
--- a/SmartProxy/include/AsteriskSCF/SmartProxy.h
+++ b/SmartProxy/include/AsteriskSCF/SmartProxy.h
@@ -149,7 +149,7 @@ private:
                                   << ") isn't of expected type";
             }
         }
-        catch (const Ice::Exception &e)
+        catch (const Ice::SyscallException& e)
         {
             (*mLogger)(Error) << "Exception locating "
                               << mLocatorParams->category << ": " << e.what();

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


-- 
asterisk-scf/integration/ice-util-cpp.git



More information about the asterisk-scf-commits mailing list