diff options
Diffstat (limited to 'lib/common')
-rw-r--r-- | lib/common/FileStream.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/common/FileStream.cpp b/lib/common/FileStream.cpp index 98b654f9..630a1ae5 100644 --- a/lib/common/FileStream.cpp +++ b/lib/common/FileStream.cpp @@ -73,8 +73,13 @@ void FileStream::AfterOpen() } else { + #ifdef WIN32 + BOX_LOG_WIN_WARNING("Failed to open file: " << + mFileName); + #else BOX_LOG_SYS_WARNING("Failed to open file: " << mFileName); + #endif THROW_EXCEPTION(CommonException, OSFileOpenError) } } |