[erlang-questions] handle_info stopped crashing if no match?
Max Lapshin
max.lapshin@REDACTED
Sun Feb 25 08:58:39 CET 2018
Got it, ok.
On Sun, Feb 25, 2018 at 5:29 AM, Fred Hebert <mononcqc@REDACTED> wrote:
> On 02/25, Max Lapshin wrote:
>
>>
>> You should not ever receive unknown messages in your system. Once you
>> start
>> adding silent catch-all clause in your system, it will be hard
>> to stop and hard to find where error begins and ends.
>>
>
> The one exception that comes to mind is a system where each worker is part
> of a broader distributed system where unknown notifications may be coming
> through from other nodes where a code upgrade has taken place before the
> current one.
>
> In such cases, an approach based on logging & keeping on going may prove
> essential to the stability of the overall system.
>
> Regards,
> Fred.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20180225/025288cb/attachment.htm>
More information about the erlang-questions
mailing list