mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
Include failed server name and port number (Peer/user) in hpws server creation fail error (#270)
* Adding name and server name to port binding error message. * Resolving PR comments.
This commit is contained in:
committed by
GitHub
parent
9999c28a37
commit
a3775c6864
@@ -206,7 +206,7 @@ namespace comm
|
||||
if (std::holds_alternative<hpws::error>(result))
|
||||
{
|
||||
const hpws::error e = std::get<hpws::error>(result);
|
||||
LOG_ERROR << "Error creating hpws server:" << e.first << " " << e.second;
|
||||
LOG_ERROR << name << " hpws server creation failed. " << e.first << " " << e.second << " Port: " << std::to_string(listen_port);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user