only output error filename once
This commit is contained in:
parent
62f1ad0464
commit
b30fdea0d0
|
@ -350,7 +350,7 @@ public:
|
|||
errorLogFile = userData + errorLogFile;
|
||||
}
|
||||
|
||||
printf("Attempting to write error to file [%s]\n",errorLogFile.c_str());
|
||||
//printf("Attempting to write error to file [%s]\n",errorLogFile.c_str());
|
||||
|
||||
#if defined(WIN32) && !defined(__MINGW32__)
|
||||
FILE *fp = _wfopen(utf8_decode(errorLogFile).c_str(), L"w");
|
||||
|
@ -381,6 +381,12 @@ public:
|
|||
fflush(stdout);
|
||||
}
|
||||
}
|
||||
else {
|
||||
if(confirmToConsole == true) {
|
||||
printf("COULD NOT SAVE TO ERROR logfile [%s]\n",errorLogFile.c_str());
|
||||
fflush(stdout);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void handleRuntimeError(const char *msg) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user