qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject svn commit: r600985 - /incubator/qpid/trunk/qpid/cpp/src/qpid/broker/TxAck.cpp
Date Tue, 04 Dec 2007 15:53:56 GMT
Author: gsim
Date: Tue Dec  4 07:53:55 2007
New Revision: 600985

URL: http://svn.apache.org/viewvc?rev=600985&view=rev
Log:
Log exception when prepare fails.


Modified:
    incubator/qpid/trunk/qpid/cpp/src/qpid/broker/TxAck.cpp

Modified: incubator/qpid/trunk/qpid/cpp/src/qpid/broker/TxAck.cpp
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/broker/TxAck.cpp?rev=600985&r1=600984&r2=600985&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/qpid/broker/TxAck.cpp (original)
+++ incubator/qpid/trunk/qpid/cpp/src/qpid/broker/TxAck.cpp Tue Dec  4 07:53:55 2007
@@ -41,6 +41,9 @@
             }
         }
         return true;
+    }catch(const std::exception& e){
+        QPID_LOG(error, "Failed to prepare: " << e.what());
+        return false;
     }catch(...){
         QPID_LOG(error, "Failed to prepare");
         return false;



Mime
View raw message