mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-30 00:53:46 +00:00
fix(core): Improve output for 2 small errors (#2549)
This commit is contained in:
@@ -141,10 +141,10 @@ int Master::Run()
|
||||
if (!pidFile.empty())
|
||||
{
|
||||
if (uint32 pid = CreatePIDFile(pidFile))
|
||||
sLog->outString("Daemon PID: %u\n", pid);
|
||||
sLog->outError("Daemon PID: %u\n", pid); // outError for red color in console
|
||||
else
|
||||
{
|
||||
sLog->outString("Cannot create PID file %s.\n", pidFile.c_str());
|
||||
sLog->outError("Cannot create PID file %s (possible error: permission)\n", pidFile.c_str());
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@ void RARunnable::run()
|
||||
|
||||
if (acceptor.open(listenAddress, m_Reactor) == -1)
|
||||
{
|
||||
sLog->outError("Trinity RA can not bind to port %d on %s", raPort, stringIp.c_str());
|
||||
sLog->outError("Trinity RA can not bind to port %d on %s (possible error: port already in use)", raPort, stringIp.c_str());
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user