summaryrefslogtreecommitdiff
path: root/src/rose.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rose.erl')
-rw-r--r--src/rose.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rose.erl b/src/rose.erl
index 3db9909..e267b6d 100644
--- a/src/rose.erl
+++ b/src/rose.erl
@@ -52,6 +52,9 @@ dispatch({reject, #'Reject'{invokeId = Id, problem = Problem}}) ->
dispatch(#'ReturnResult_result'{opcode = Op, result = Data}) ->
case Op of
+ ?MONITOR ->
+ {ok, Status} = monitor:decode(Data),
+ io:format("Result: ~p~n", [Status]);
?SNAPSHOT ->
{ok, Status} = snapshot:decode(Data),
io:format("Result: ~p~n", [Status]);