bee icon indicating copy to clipboard operation
bee copied to clipboard

Replace panic with error in network lib.rs

Open thibault-martinez opened this issue 4 years ago • 1 comments

thread 'main' panicked at 'Fatal error: Binding to /ip4/0.0.0.0/tcp/15600 failed.', /var/lib/bee/bee-network/src/lib.rs:100:9

thibault-martinez avatar Feb 07 '21 13:02 thibault-martinez

I would just let the node panic tbh if it can't acquire a binding to that address (e.g. no network interface, or port already in use)

Alex6323 avatar Mar 05 '21 17:03 Alex6323