mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-15 22:19:07 +00:00
Display error if mod downloader failed to rename temp file
This commit is contained in:
parent
bb515842a8
commit
711db4467f
1 changed files with 1 additions and 1 deletions
|
@ -512,7 +512,7 @@ void ModDL::NotifyMod(ModRequest *rq, NetEvent ev, size_t recvd, size_t total)
|
|||
remove(archiveFile.c_str());
|
||||
if(rename(rq->tempFilename.c_str(), archiveFile.c_str()))
|
||||
{
|
||||
debugLog("Could not rename mod " + rq->tempFilename + " to " + archiveFile);
|
||||
dsq->screenMessage("Failed to rename mod\n" + rq->tempFilename + "\n to\n" + archiveFile);
|
||||
return;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue