Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1190)

Unified Diff: content/browser/service_worker/service_worker_storage.cc

Issue 307503003: ServiceWorker: Print error message when failed to open diskcache (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use net::ErrorToString() Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/service_worker/service_worker_storage.cc
diff --git a/content/browser/service_worker/service_worker_storage.cc b/content/browser/service_worker/service_worker_storage.cc
index 9a79263d718d49b94d630fe81914daa1fcee4091..ee64e0cecec86bd01091a37d437b38594db5345f 100644
--- a/content/browser/service_worker/service_worker_storage.cc
+++ b/content/browser/service_worker/service_worker_storage.cc
@@ -694,7 +694,8 @@ ServiceWorkerDiskCache* ServiceWorkerStorage::disk_cache() {
void ServiceWorkerStorage::OnDiskCacheInitialized(int rv) {
if (rv != net::OK) {
- LOG(ERROR) << "Failed to open the serviceworker diskcache.";
+ LOG(ERROR) << "Failed to open the serviceworker diskcache: "
+ << net::ErrorToString(rv);
// TODO(michaeln): DeleteAndStartOver()
disk_cache_->Disable();
state_ = DISABLED;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698