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

Unified Diff: app/resource_bundle.cc

Issue 6123006: Downgrade a CHECK to a LOG(ERROR) so we don't crash if we (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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: app/resource_bundle.cc
diff --git a/app/resource_bundle.cc b/app/resource_bundle.cc
index b0e79ed93ecfdaded07fcd8aa978b96255c69c0b..93669bc2fcc8ab70bd80cb6606e2d48af9ec00f2 100644
--- a/app/resource_bundle.cc
+++ b/app/resource_bundle.cc
@@ -248,7 +248,9 @@ void ResourceBundle::LoadedDataPack::Load() {
DCHECK(!data_pack_.get());
data_pack_.reset(new app::DataPack);
bool success = data_pack_->Load(path_);
- CHECK(success) << "Failed to load " << path_.value();
+ LOG_IF(ERROR, !success) << "Failed to load " << path_.value()
+ << "\nYou will not be able to use the Bookmarks Manager or "
+ << "about:net-internals.";
}
bool ResourceBundle::LoadedDataPack::GetStringPiece(
« 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