Skip to content

Commit

Permalink
add an error message to timeout stop
Browse files Browse the repository at this point in the history
  • Loading branch information
abijr committed Mar 1, 2024
1 parent d1de2ee commit 3056c15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/erlmld_wrk_statem.erl
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ handle_event(info, Message, _State, #data{worker_state = WorkerState}) ->
error_logger:error_msg("~p ignoring unexpected message ~p~n", [WorkerState, Message]),
keep_state_and_data;
handle_event(state_timeout, shutdown, _State, _Data) ->
stop.
{stop, {error, shutdown_timeout}}.

%%%===================================================================
%%% Internal functions
Expand Down

0 comments on commit 3056c15

Please sign in to comment.