From 248f1fe188fe2307b9dcf2c87a83b653eaa1920c Mon Sep 17 00:00:00 2001 From: "Rafael H. Schloming" Date: Sat, 26 Dec 2009 12:42:57 +0000 Subject: synchronized with trunk except for ruby dir git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid.rnr@893970 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/Exception.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src/qpid/Exception.cpp') diff --git a/cpp/src/qpid/Exception.cpp b/cpp/src/qpid/Exception.cpp index 9e884efec0..16a3a13d17 100644 --- a/cpp/src/qpid/Exception.cpp +++ b/cpp/src/qpid/Exception.cpp @@ -20,7 +20,7 @@ */ #include "qpid/log/Statement.h" -#include "Exception.h" +#include "qpid/Exception.h" #include #include #include @@ -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() {} -- cgit v1.2.1