summaryrefslogtreecommitdiff
path: root/test/erl
diff options
context:
space:
mode:
authorDavid Reiss <dreiss@apache.org>2010-08-30 22:05:16 +0000
committerDavid Reiss <dreiss@apache.org>2010-08-30 22:05:16 +0000
commita94514f48ebabd82b6814c709efa67d8cffbcb2b (patch)
tree2181959e946a24c3f581383d9ffe4d6469b090db /test/erl
parent7772d931a1908fa924972f4725de9e8ed3851d97 (diff)
downloadthrift-a94514f48ebabd82b6814c709efa67d8cffbcb2b.tar.gz
erlang: Make the test server compatible with the Python test client
The Python test client expects a specific value in some responses. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@990970 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/erl')
-rw-r--r--test/erl/src/test_server.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/erl/src/test_server.erl b/test/erl/src/test_server.erl
index 889f1b47a..134c7cb93 100644
--- a/test/erl/src/test_server.erl
+++ b/test/erl/src/test_server.erl
@@ -150,7 +150,7 @@ handle_function(testException, {String}) when is_binary(String) ->
case String of
<<"Xception">> ->
throw(#xception{errorCode = 1001,
- message = <<"This is an Xception">>});
+ message = String});
_ ->
ok
end;