summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/timeout/Client.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2006-06-08 07:36:07 +0000
committerBenoit Foucher <benoit@zeroc.com>2006-06-08 07:36:07 +0000
commit1845ed1ffd013c59cb7dec48c612216a5df01be2 (patch)
treead9600da3addd0bb94e09eb5ac8408f2c2719473 /cpp/test/Ice/timeout/Client.cpp
parentFix for bugs #1015 and #542 (default properties) (diff)
downloadice-1845ed1ffd013c59cb7dec48c612216a5df01be2.tar.bz2
ice-1845ed1ffd013c59cb7dec48c612216a5df01be2.tar.xz
ice-1845ed1ffd013c59cb7dec48c612216a5df01be2.zip
Print unexpected exceptions
Diffstat (limited to 'cpp/test/Ice/timeout/Client.cpp')
-rw-r--r--cpp/test/Ice/timeout/Client.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/test/Ice/timeout/Client.cpp b/cpp/test/Ice/timeout/Client.cpp
index e86880d4538..72730fb6d67 100644
--- a/cpp/test/Ice/timeout/Client.cpp
+++ b/cpp/test/Ice/timeout/Client.cpp
@@ -52,8 +52,9 @@ main(int argc, char* argv[])
communicator = Ice::initialize(argc, argv, initData);
status = run(argc, argv, communicator);
}
- catch(const Ice::Exception&)
+ catch(const Ice::Exception& ex)
{
+ cerr << ex << endl;
status = EXIT_FAILURE;
}