summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/qpidd.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-11-19 15:36:16 +0000
committerAlan Conway <aconway@apache.org>2008-11-19 15:36:16 +0000
commitba32263f3322a3379c0670b269b45398a9c3deda (patch)
treef4002642bde455d05225b8832c8213546b5a3cfc /qpid/cpp/src/qpidd.cpp
parente8526b5f0563b8691f011740b6c5838af986ac7a (diff)
downloadqpid-python-ba32263f3322a3379c0670b269b45398a9c3deda.tar.gz
Fix seg fault caused by exceptiosn thrown in Cluster ctor.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@718983 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/qpidd.cpp')
-rw-r--r--qpid/cpp/src/qpidd.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpidd.cpp b/qpid/cpp/src/qpidd.cpp
index b00a3e63f6..330f12ae83 100644
--- a/qpid/cpp/src/qpidd.cpp
+++ b/qpid/cpp/src/qpidd.cpp
@@ -23,6 +23,7 @@
#include "qpid/Plugin.h"
#include "qpid/Version.h"
#include "qpid/log/Logger.h"
+#include "qpid/log/Statement.h"
#include "qpid/sys/Shlib.h"
#include <iostream>
@@ -76,7 +77,7 @@ int main(int argc, char* argv[])
return broker.execute(options.get());
}
catch(const exception& e) {
- cerr << e.what() << endl;
+ QPID_LOG(critical, "Broker start-up failed: " << e.what());
}
return 1;
}