diff options
Diffstat (limited to 'cpp/test/client/echo_service.cpp')
-rw-r--r-- | cpp/test/client/echo_service.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/test/client/echo_service.cpp b/cpp/test/client/echo_service.cpp index f0aa49fd4b..3df3da0b86 100644 --- a/cpp/test/client/echo_service.cpp +++ b/cpp/test/client/echo_service.cpp @@ -107,7 +107,7 @@ int main(int argc, char** argv){ connection.close(); } catch(qpid::QpidError error) { - std::cout << "Error [" << error.code << "] " << error.msg << " (" << error.file << ":" << error.line << ")" << std::endl; + std::cout << error.what() << std::endl; } } else { try { @@ -133,7 +133,7 @@ int main(int argc, char** argv){ connection.close(); } catch(qpid::QpidError error) { - std::cout << "Error [" << error.code << "] " << error.msg << " (" << error.file << ":" << error.line << ")" << std::endl; + std::cout << error.what() << std::endl; } } } |