Skip to content

Commit

Permalink
Add error message in initCachedStat, if open of info file fails
Browse files Browse the repository at this point in the history
  • Loading branch information
alja authored and abh3 committed Jun 30, 2016
1 parent 97f8328 commit 73d4160
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/XrdFileCache/XrdFileCacheIOEntireFile.cc
Expand Up @@ -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;
}
Expand Down

0 comments on commit 73d4160

Please sign in to comment.