mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 22:48:18 +00:00
added additional info in case the execution of a config failed. closes #1872
This commit is contained in:
parent
e21c5d85d1
commit
e76148caf9
|
@ -426,6 +426,7 @@ void CConsole::ExecuteFile(const char *pFilename)
|
||||||
{
|
{
|
||||||
str_format(aBuf, sizeof(aBuf), "failed to open '%s'", pFilename);
|
str_format(aBuf, sizeof(aBuf), "failed to open '%s'", pFilename);
|
||||||
Print(IConsole::OUTPUT_LEVEL_STANDARD, "console", aBuf);
|
Print(IConsole::OUTPUT_LEVEL_STANDARD, "console", aBuf);
|
||||||
|
Print(IConsole::OUTPUT_LEVEL_STANDARD, "console", "Info: only relative paths starting from the ones you specify in 'storage.cfg' are allowed");
|
||||||
}
|
}
|
||||||
|
|
||||||
m_pFirstExec = pPrev;
|
m_pFirstExec = pPrev;
|
||||||
|
|
Loading…
Reference in a new issue