diff options
Diffstat (limited to 'src/ext_mod.erl')
-rw-r--r-- | src/ext_mod.erl | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/ext_mod.erl b/src/ext_mod.erl index 607f7b080..75338b991 100644 --- a/src/ext_mod.erl +++ b/src/ext_mod.erl @@ -63,14 +63,16 @@ add_paths() -> [code:add_patha(module_ebin_dir(Module)) || {Module, _} <- installed()]. -handle_call(_Request, _From, State) -> - Reply = ok, - {reply, Reply, State}. +handle_call(Request, From, State) -> + ?WARNING_MSG("Unexpected call from ~p: ~p", [From, Request]), + {noreply, State}. -handle_cast(_Msg, State) -> +handle_cast(Msg, State) -> + ?WARNING_MSG("Unexpected cast: ~p", [Msg]), {noreply, State}. -handle_info(_Info, State) -> +handle_info(Info, State) -> + ?WARNING_MSG("Unexpected info: ~p", [Info]), {noreply, State}. terminate(_Reason, _State) -> |