diff options
author | Björn Gustavsson <[email protected]> | 2016-03-08 10:12:34 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-03-14 13:13:45 +0100 |
commit | bb2f9e3ebecf5101c142887c41d3db4e3e88118f (patch) | |
tree | bef9770055e6ec84f29c75598c2b5a0d888206f5 /lib/kernel/src/user.erl | |
parent | 51628bfae821e184878f97d1e81d8c0c7f8e433e (diff) | |
download | otp-bb2f9e3ebecf5101c142887c41d3db4e3e88118f.tar.gz otp-bb2f9e3ebecf5101c142887c41d3db4e3e88118f.tar.bz2 otp-bb2f9e3ebecf5101c142887c41d3db4e3e88118f.zip |
Make distribution failures during start-up easier to read
When an attempt is made to start a distributed Erlang node with
the same name as an existing node, the crash reports for several
supervisors would be displayed. Only the first line contains
useful information. The verbiage is annoying for old hands and
could easily scare newcomers away for good.
For all the common distribution failures during start-up, write a
simple message and terminate the emulator using halt/1. Here is an
example of what will be printed:
Protocol 'inet_tcp': the name somename@somehost seems to be in use by another Erlang node
Diffstat (limited to 'lib/kernel/src/user.erl')
0 files changed, 0 insertions, 0 deletions