Index: net/disk_cache/backend_impl.cc |
=================================================================== |
--- net/disk_cache/backend_impl.cc (revision 133094) |
+++ net/disk_cache/backend_impl.cc (working copy) |
@@ -860,8 +860,10 @@ |
scoped_refptr<disk_cache::File> file(new disk_cache::File( |
base::CreatePlatformFile(name, flags, NULL, &error))); |
if (!file->IsValid()) { |
- if (error != base::PLATFORM_FILE_ERROR_EXISTS) |
+ if (error != base::PLATFORM_FILE_ERROR_EXISTS) { |
+ LOG(ERROR) << "Unable to create file: " << error; |
return false; |
+ } |
continue; |
} |