Logging error in docs api when a file could not be read.