added additional info in case the execution of a config failed. closes #1872

This commit is contained in:
oy 2018-12-22 19:10:22 +01:00
parent e21c5d85d1
commit e76148caf9

View file

@ -426,6 +426,7 @@ void CConsole::ExecuteFile(const char *pFilename)
{
str_format(aBuf, sizeof(aBuf), "failed to open '%s'", pFilename);
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;