make read(string) return a binary rather than a list
tested server side ... still need to test client side
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@666445 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/alterl/src/thrift_processor.erl b/lib/alterl/src/thrift_processor.erl
index 0eccba6..233c309 100644
--- a/lib/alterl/src/thrift_processor.erl
+++ b/lib/alterl/src/thrift_processor.erl
@@ -63,9 +63,10 @@
case {ErrType, ErrData} of
_ when IsAsync ->
+ Stack = erlang:get_stacktrace(),
error_logger:warning_msg(
"async void ~p threw error which must be ignored: ~p",
- [Function, {ErrType, ErrData}]),
+ [Function, {ErrType, ErrData, Stack}]),
ok;
{throw, Exception} when is_tuple(Exception), size(Exception) > 0 ->