forked from Qortal/qortal
Include error message if Network can't create listen socket
This commit is contained in:
parent
8906ce9b26
commit
47dcff0beb
@ -138,7 +138,7 @@ public class Network {
|
|||||||
LOGGER.error(String.format("Can't bind listen socket to address %s", Settings.getInstance().getBindAddress()));
|
LOGGER.error(String.format("Can't bind listen socket to address %s", Settings.getInstance().getBindAddress()));
|
||||||
throw new RuntimeException("Can't bind listen socket to address");
|
throw new RuntimeException("Can't bind listen socket to address");
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
LOGGER.error("Can't create listen socket");
|
LOGGER.error(String.format("Can't create listen socket: %s", e.getMessage()));
|
||||||
throw new RuntimeException("Can't create listen socket");
|
throw new RuntimeException("Can't create listen socket");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user