Skip to content

Commit

Permalink
Mute normal end process monitor events
Browse files Browse the repository at this point in the history
  • Loading branch information
Javier M. Torres authored and javiermtorres committed Apr 19, 2024
1 parent 92fc44d commit 0ede810
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/ergw_aaa_session.erl
Expand Up @@ -301,7 +301,10 @@ handle_event(cast, terminate, _State, Data) ->

handle_event(info, {'DOWN', _Ref, process, Owner, Info},
_State, #data{owner = Owner} = Data) ->
?LOG(error, "Received DOWN information for ~p with info ~p", [Data#data.owner, Info]),
case Info of
normal -> ok;
_ -> ?LOG(error, "Received DOWN information for ~p with info ~p", [Data#data.owner, Info])
end,
terminate_action(Data),
{stop, normal};

Expand Down

0 comments on commit 0ede810

Please sign in to comment.