mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Print error when opening config file fails
This commit is contained in:
parent
74550e2c45
commit
5b50d4f310
|
@ -70,7 +70,10 @@ public:
|
|||
m_ConfigFile = m_pStorage->OpenFile(aConfigFileTmp, IOFLAG_WRITE, IStorage::TYPE_SAVE);
|
||||
|
||||
if(!m_ConfigFile)
|
||||
{
|
||||
dbg_msg("config", "ERROR: opening %s failed", aConfigFileTmp);
|
||||
return;
|
||||
}
|
||||
|
||||
m_Failed = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue