Просмотр исходного кода

Merge pull request #21 from superscale/feature/no_shutdown_log

Ignore `shutdown` as process death reason too
Roberto Ostinelli 8 лет назад
Родитель
Сommit
01d914a32b
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/syn_registry.erl

+ 1 - 0
src/syn_registry.erl

@@ -255,6 +255,7 @@ handle_info({'EXIT', Pid, Reason}, #state{
                 %% log
                 case Reason of
                     normal -> ok;
+                    shutdown -> ok;
                     killed -> ok;
                     _ ->
                         error_logger:error_msg("Process with key ~p and pid ~p exited with reason: ~p", [Key0, Pid, Reason])