diff options
| author | Gordon Sim <gsim@apache.org> | 2007-12-04 15:53:55 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2007-12-04 15:53:55 +0000 |
| commit | 0ba3c58e27ee759930a01e42112f79dcb5069312 (patch) | |
| tree | a3287d9e0bc21f819153c252948e39a7544bb541 /qpid/cpp/src | |
| parent | 574ef414a20396f867cfabd8863837f7991a3b73 (diff) | |
| download | qpid-python-0ba3c58e27ee759930a01e42112f79dcb5069312.tar.gz | |
Log exception when prepare fails.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@600985 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
| -rw-r--r-- | qpid/cpp/src/qpid/broker/TxAck.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qpid/cpp/src/qpid/broker/TxAck.cpp b/qpid/cpp/src/qpid/broker/TxAck.cpp index 05ea755d71..40b9b0ff33 100644 --- a/qpid/cpp/src/qpid/broker/TxAck.cpp +++ b/qpid/cpp/src/qpid/broker/TxAck.cpp @@ -41,6 +41,9 @@ bool TxAck::prepare(TransactionContext* ctxt) throw(){ } } 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; |
