diff --git a/src/XrdFileCache/XrdFileCacheIOEntireFile.cc b/src/XrdFileCache/XrdFileCacheIOEntireFile.cc index 95b69c1592e..9f2e734783b 100644 --- a/src/XrdFileCache/XrdFileCacheIOEntireFile.cc +++ b/src/XrdFileCache/XrdFileCacheIOEntireFile.cc @@ -120,6 +120,9 @@ int IOEntireFile::initCachedStat(const char* path) TRACEIO(Error, "IOEntireFile::initCachedStat failed to read file size from info file"); } } + else { + TRACEIO(Error, "IOEntireFile::initCachedStat can't open info file " << strerror(errno)); + } infoFile->Close(); delete infoFile; }