parent
9d8e23c822
commit
0aa0efa439
1 changed files with 4 additions and 1 deletions
|
@ -140,7 +140,10 @@ Archive::~Archive() {
|
|||
|
||||
bool Archive::Init() {
|
||||
if (!file_.IsValid()) {
|
||||
LOG(ERROR) << base::File::ErrorToString(file_.error_details());
|
||||
if (file_.error_details() != base::File::FILE_ERROR_NOT_FOUND) {
|
||||
LOG(WARNING) << "Opening " << path_.value()
|
||||
<< ": " << base::File::ErrorToString(file_.error_details());
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue