[erlang-questions] handle_info stopped crashing if no match?

Vans S vans_163@REDACTED
Sat Feb 24 15:33:03 CET 2018


Something weird is going on, I am on the latest Erlang release from GitHub, 20.2, and my gen_servers stopped crashing?

If I send a message to a gen_server and handle_info does not match the message, the message is ignored now?
If this is the case, how to disable this behavior and go back to the fault tolerant stable way?

If I want to make a catch-all for handle_info I will explicitly code that, if an unknown message comes to a gen_server this is
a bug in my logic/code and I need to crash hard so I can fix it.  I am getting inconsistent states and hidden bugs after
upgrading to 20.2.

If I made a mistake here and Erlang still crashing if handle_info cannot match a message, excuse me and I 
will dig deeper to what the problem can be.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20180224/f3bb8a62/attachment.htm>


More information about the erlang-questions mailing list