File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Core/GameEngine/Source/Common/System Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -406,7 +406,7 @@ void DebugInit(int flags)
406406 remove (theLogFileNamePrev);
407407 if (rename (theLogFileName, theLogFileNamePrev) != 0 )
408408 {
409- DEBUG_ASSERTLOG ( false , ( " Could not rename log file and will remove instead" ) );
409+ DebugLog ( " Could not rename log file '%s' to '%s' and is remove instead" , theLogFileName, theLogFileNamePrev );
410410 remove (theLogFileName);
411411 }
412412
@@ -745,7 +745,7 @@ void ReleaseCrash(const char *reason)
745745 remove (prevbuf);
746746 if (rename (curbuf, prevbuf) != 0 )
747747 {
748- DEBUG_ASSERTLOG ( false , ( " Could not rename buffer file and will remove instead" ) );
748+ DebugLog ( " Could not rename buffer file '%s' to '%s' and is remove instead" , curbuf, prevbuf );
749749 remove (curbuf);
750750 }
751751
@@ -838,7 +838,7 @@ void ReleaseCrashLocalized(const AsciiString& p, const AsciiString& m)
838838 remove (prevbuf);
839839 if (rename (curbuf, prevbuf) != 0 )
840840 {
841- DEBUG_ASSERTLOG ( false , ( " Could not rename buffer file and will remove instead" ) );
841+ DebugLog ( " Could not rename buffer file '%s' to '%s' and is remove instead" , curbuf, prevbuf );
842842 remove (curbuf);
843843 }
844844
You can’t perform that action at this time.
0 commit comments