summaryrefslogtreecommitdiff
path: root/check_xref
diff options
context:
space:
mode:
authorMichael Klishin <mklishin@pivotal.io>2018-10-11 01:47:41 +0300
committerMichael Klishin <mklishin@pivotal.io>2018-10-11 01:47:41 +0300
commit77bf5d6f2a1c2a9ce5483c384af22245f7b190a5 (patch)
treee4d7cb66524a442505ea2023a498ef4d92855cc8 /check_xref
parent3ae27d2e5a0128c65d1e1312a23ef72103298e9a (diff)
downloadrabbitmq-server-git-77bf5d6f2a1c2a9ce5483c384af22245f7b190a5.tar.gz
Refactor listener startup error handling
Functions that start listeners (Ranch supervisors) no longer throw on errors. They simply return the first error encountered and let the boot step handle it. Since there is no way for boot steps to indicate errors, this is the best we can do in this area without a much deeper refactoring of the boot sequence. In addition they also log the error. Note that modern Ranch versions log more reasonable messages when Ranch supervisors exit due to a listen/bind socket operation error, e.g. when the address/port pair is already in use. Closes #1711 (for now), covers #1729 for the server as a drive-by change. [#160791138] [#161136615]
Diffstat (limited to 'check_xref')
0 files changed, 0 insertions, 0 deletions