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

Unified Diff: chrome/browser/extensions/updater/extension_downloader.cc

Issue 10534148: Better logging in extension update code for case of invalid crx urls (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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: chrome/browser/extensions/updater/extension_downloader.cc
diff --git a/chrome/browser/extensions/updater/extension_downloader.cc b/chrome/browser/extensions/updater/extension_downloader.cc
index 2c0e6fa7006c0aa233438d5cda3493c0ede569de..a19c8df17f18dd2fffb93a8486733d86a0a20b11 100644
--- a/chrome/browser/extensions/updater/extension_downloader.cc
+++ b/chrome/browser/extensions/updater/extension_downloader.cc
@@ -544,7 +544,8 @@ void ExtensionDownloader::FetchUpdatedExtension(const std::string& id,
const std::string& version) {
if (!url.is_valid()) {
// TODO(asargent): This can sometimes be invalid. See crbug.com/130881.
- LOG(ERROR) << "Invalid URL: " << url.spec();
+ LOG(ERROR) << "Invalid URL: '" << url.possibly_invalid_spec()
+ << "' for extension " << id;
return;
}
« 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