diff --git a/AnnService/inc/Helper/AsyncFileReader.h b/AnnService/inc/Helper/AsyncFileReader.h index bd636b2c..b1eeb465 100644 --- a/AnnService/inc/Helper/AsyncFileReader.h +++ b/AnnService/inc/Helper/AsyncFileReader.h @@ -522,7 +522,7 @@ namespace SPTAG { m_fileHandle = open(filePath, O_RDONLY | O_DIRECT); if (m_fileHandle <= 0) { - SPTAGLIB_LOG(LogLevel::LL_Error, "Failed to create file handle: %s\n", filePath); + SPTAGLIB_LOG(LogLevel::LL_Error, "Failed to create file handle: %s: %s\n", filePath, strerror(errno)); return false; }