summaryrefslogtreecommitdiff
path: root/rose.erl
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-10-29 13:06:51 +0100
committerDimitri Sokolyuk <demon@dim13.org>2015-10-29 13:06:51 +0100
commited8124bd452ad2d3d927c2d95ef718fec81a4180 (patch)
tree06413816431988def5dfad7b4a49cf411219631e /rose.erl
parent515371ecf04c1fd274c6ea6d8f1d60fbefc4587f (diff)
Trap exit
Diffstat (limited to 'rose.erl')
-rw-r--r--rose.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/rose.erl b/rose.erl
index e2fb004..c720dd8 100644
--- a/rose.erl
+++ b/rose.erl
@@ -31,7 +31,9 @@ dispatch({invoke, #'Invoke'{invokeId = Id, opcode = Op, argument = Data}}) ->
{local, 74} ->
ok;
{local, 211} ->
- return(Id, Op, csta:status());
+ {ok, Status} = csta:decodeStatus(Data),
+ io:format("Status: ~p~n", [Status]),
+ return(Id, Op, csta:statusOk());
_ ->
error
end;