From 9813cbeda6f15be9bcbfb163ce475f82d7f02839 Mon Sep 17 00:00:00 2001 From: David Reiss Date: Sat, 31 Jan 2009 21:39:11 +0000 Subject: [PATCH] cpp: Make the test server compatible with the Python test client git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@739629 13f79535-47bb-0310-9956-ffa450edef68 --- test/cpp/src/TestServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cpp/src/TestServer.cpp b/test/cpp/src/TestServer.cpp index ce18aafd4..602f454da 100644 --- a/test/cpp/src/TestServer.cpp +++ b/test/cpp/src/TestServer.cpp @@ -229,7 +229,7 @@ class TestHandler : public ThriftTestIf { if (arg.compare("Xception") == 0) { Xception e; e.errorCode = 1001; - e.message = "This is an Xception"; + e.message = arg; throw e; } else if (arg.compare("ApplicationException") == 0) { facebook::thrift::TException e;