diff options
Diffstat (limited to 'cpp/src/qpid/Exception.cpp')
-rw-r--r-- | cpp/src/qpid/Exception.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/Exception.cpp b/cpp/src/qpid/Exception.cpp index 9e884efec0..05d1a26f57 100644 --- a/cpp/src/qpid/Exception.cpp +++ b/cpp/src/qpid/Exception.cpp @@ -28,7 +28,7 @@ namespace qpid { Exception::Exception(const std::string& msg) throw() : message(msg) { - QPID_LOG(debug, "Exception constructed: " << message); + QPID_LOG_IF(debug, !msg.empty(), "Exception constructed: " << message); } Exception::~Exception() throw() {} |