diff options
author | Chris Wilson <chris+github@qwirx.com> | 2008-08-06 18:23:10 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2008-08-06 18:23:10 +0000 |
commit | 4acc922f4d5e9f12854ed74d246ddc585569df5c (patch) | |
tree | b769e077ba808719fa1e7a880501bd43a86ab4b2 /lib/common/FileStream.cpp | |
parent | 3d6c4abf51441884ef4ad0b683bec75cfdf5f194 (diff) |
Log a warning with the file that couldn't be opened and the error code,
to help debus issues Pete Jalajas is having with Amazon S3 and fuse.
Diffstat (limited to 'lib/common/FileStream.cpp')
-rw-r--r-- | lib/common/FileStream.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/common/FileStream.cpp b/lib/common/FileStream.cpp index 57fb8274..7737656d 100644 --- a/lib/common/FileStream.cpp +++ b/lib/common/FileStream.cpp @@ -47,6 +47,8 @@ FileStream::FileStream(const char *Filename, int flags, int mode) } else { + BOX_LOG_SYS_WARNING("Failed to open file: " << + Filename); THROW_EXCEPTION(CommonException, OSFileOpenError) } } |