Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
7772d93
)
erlang: Make the test server compatible with the Python test client
author
David Reiss
<dreiss@apache.org>
Mon, 30 Aug 2010 22:05:16 +0000
(22:05 +0000)
committer
David Reiss
<dreiss@apache.org>
Mon, 30 Aug 2010 22:05:16 +0000
(22:05 +0000)
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
test/erl/src/test_server.erl
patch
|
blob
|
history
diff --git
a/test/erl/src/test_server.erl
b/test/erl/src/test_server.erl
index
889f1b4
..
134c7cb
100644
(file)
--- 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;