diff options
Diffstat (limited to 'cpp/src/qpid/client/BasicMessageChannel.cpp')
-rw-r--r-- | cpp/src/qpid/client/BasicMessageChannel.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/qpid/client/BasicMessageChannel.cpp b/cpp/src/qpid/client/BasicMessageChannel.cpp index 96aaad05dc..91849c735e 100644 --- a/cpp/src/qpid/client/BasicMessageChannel.cpp +++ b/cpp/src/qpid/client/BasicMessageChannel.cpp @@ -15,6 +15,7 @@ * limitations under the License. * */ +#include "qpid/log/Statement.h" #include "BasicMessageChannel.h" #include "qpid/framing/AMQMethodBody.h" #include "ClientChannel.h" @@ -320,12 +321,11 @@ void BasicMessageChannel::run() { } } catch (const ShutdownException&) { - /* Orderly shutdown */ + // Orderly shutdown. } catch (const Exception& e) { // FIXME aconway 2007-02-20: Report exception to user. - cout << "client::BasicMessageChannel::run() terminated by: " - << e.toString() << endl; + QPID_LOG(error, e.what()); } } } |