output to console before trying to write to error.log
This commit is contained in:
parent
dc4b367f69
commit
62f1ad0464
|
@ -349,6 +349,9 @@ public:
|
|||
}
|
||||
errorLogFile = userData + errorLogFile;
|
||||
}
|
||||
|
||||
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");
|
||||
std::ofstream logFile(fp);
|
||||
|
|
Loading…
Reference in New Issue
Block a user