Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

BUGFIX wrap returned values

So that we don't strip any ok or error tag from the value returned by the call
handler function
  • Loading branch information...
commit 621be31803bdcf38dea2af6ba0273d26f45e681a 1 parent 87fd80f
@samuelrivas authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/moka_call_handler.erl
View
2  src/moka_call_handler.erl
@@ -125,7 +125,7 @@ handle_call({get_response, ExceptionTag, Args}, From, State) ->
ExceptionTag,
WrappedResult),
- gen_server:reply(From, WrappedResult)
+ gen_server:reply(From, {ok, WrappedResult})
end),
{noreply, State};
handle_call(stop, _From, State) ->
Please sign in to comment.
Something went wrong with that request. Please try again.